First page Back Continue Last page Graphics
Private Inheritance
Class student : private String, private ArrayDb
Public and protected members of the base class become private members of the derived class.
The derived class DOES NOT inherit the base class interface. (has-a relationship)
The derived class DOES inherit the base class implementation.
Redesigned Student example: studenti