Create a class called BankAccount2 that implements the BankAccount2 class according to this API.
It should be in a file called BankAccount2.java. BankAccount2 uses the Date class from the text. A version of the Date class, slightly modified from the one in the text can be found here: Date class. Later, when you have time, compare this version with the one in the text and see if you understand the changes.

This class is just an elaboration of the BankAccount1 class from exercise 1. It has

Additional features include You may wish to start with a copy of your BankAccount1 class and rename and modify it.

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 use javadoc .... -tag pre.:a:"Precondition: " ...

When you have finished creating the file BankAccount2.java and making sure that its API is what you want, submit it with the following command on prism:

submit 1030 Exercise2 BankAccount2.java