In this lesson your students will discover and define the object-oriented principle of inheritance. They will explore this concept first by relating it back to the Pet example used in the previous lesson, as well as defining key terms such as subclass and superclass. The practical part of this lesson will involve making two new subclasses for the Monster class they created last lesson. One of which you will model and the second they will do independently.
- Define the principle of inheritance
- Define the terms superclass and subclass
- Select appropriate uses of inheritance
- Create a subclass in a program