Inheritance
Objectives:
In this lab you will:
- Learn about inheritance in order to make more specialized derived classes that extend the functionality of a base class.
- Learn how to inherit instance variables and methods from the base class.
- Use method overriding to change the behavior of an inherited method when it is used by a more specialized derived class.
- Learn about the protected visibility modifier.