- Inheritance is a mechanism for defining
new types from old types. In C++, this is often
called class derivation.
- The new class is called the derived class.
- The old class is called the base class.
- The derived class inherits the data members
and member functions of the base class.
- Some people use the term parent class for the base
class and the term child class for the derived class.