First page Back Continue Last page Graphics
Protected Inheritance
class Student : protected String, protected ArrayDb{ ... };
With protected inheritance, public and private members of a base class become protected members of the derived class.
When you derive another class from the derived class, public base methods become protected in the second generation and so are available internally to the next level of derivation.