CS401 | sw engineering
  • outline
  • projects
  • syllabus
  • links

In Class Example (abstract classes)

due on own


Define an abstract class called BankAccount that contains a method info() Then create the following derived classes of BankAccount: Checking, Savings. The abstraction should be around the method called info() which will print out information depending on whether you have a Checking or Savings account differently (hence Checking and Savings are children of the BankAccount abstract class and implement the abstract method info()).

cs401:sw engieering

  • home
  • outline
  • projects
  • syllabus
  • links