You should use the javadoc command to produce your own api. It should look exactly like the one provided. For the "Precondition: " tag, use @pre. (with a period) and then usejavadoc .... -tag pre.:a:"Precondition: " ...
When you have finished creating the file BankAccount1.java and making sure that its API is what you want, submit it with the following command on prism
submit 1030 Exercise1 BankAccount1.java