Second Exercise using inheritance

For this exercise, you may choose ONE of the following (1 or 2):

  1. For the Bank program, introduce a subclass of Account called Savings, which has an instance variable interestRate of type double, an addInterest method which updates the balance by adding the interest, and reuses all other methods of Account. Test using JUnit.

    == OR ==

  2. For the Explore (Game) program: