Think of 2-3 scenarios when it would be appropriate to use an abstract base class.
Share these scenarios with someone else, describing the reasons for having an abstract base class.
Make your SimpleBankAccountclass from the Inheritance Exercisesabstract. Does the main() method in the AccountsDriverclass still compile and run? If it does, explain why. If not, make appropriate changes.
Think of 2-3 scenarios when it would be appropriate to use an interface. Share these scenarios with someone else, describing the reasons for having an interface.
Write a simple Java class that implements an interface.