Overriding Methods Exercises

  < Previous  Next >
  1. In your CheckingAccount and SavingsAccount classes from the Inheritance Exercises, override the toString() method in each derived class, but still have each call SimpleBankAccount's toString(). Use the appropriate annotation to designate that you're expecting this method to override another method.
  2. Should you use the appropriate annotation to designate that you're expecting this method to override another method for the constructors in your CheckingAccount and SavingsAccount classes? Think about it and discuss it with someone else.