Inheritance is a mechanism for enhancing
existing working classes.
If a new class needs to be implemented and a
class representing a more general concept is already available,
then the new class can inherit from the existing
class.
The existing, more general class is called the
base class.
The more specialized class that inherits from
the base class is called the derived class.
class Manager : public Employee
{
public:
new member functions
private:
new data members
};