24.x — Chapter 24 summary and quiz
Inheritance allows us to model an is-a relationship between two objects. The object being inherited from is called the parent class, base class, or superclass. The object doing the inheriting is called the child class, derived class, or subclass. When a derived class inherits from a base class, the derived …