Syntax 20.4:
Private Inheritance
class DerivedClassName : private BaseClassName
{
features;
}
| Purpose: |
To allow the derived class access to the
functionality of the base class, without declaring the derived
class as a specialized form of the base class. |
|