EECS 2030 E, Fall 2015

SavingsAccount

 

Your Task

Create two classes that will be part of a banking software application. The Transaction class represents an immutable financial transaction. Implement its API, shown here. The SavingsAccount class represents a bank account with posted transactions and a balance. Implement its API, shown here. Note that relationship with the collection holding the transactions is a composition.

In addition to code, write Javadoc documentation so that your classes will generate Javadoc that is similar to the provided APIs.

Once you have implemented the two classes, you may use the tester class shown here to test your code.

 

Note:

 

 

--- End of Exercise ---