+ 3
Can private members of the base class become protected members of the derived class in protected inheritance?
2 Réponses
+ 8
As answered vijay, it is not possible.
But it is possible do the opposite: a protected member of the base class can become private in the derived class, using private type of inheritance.
+ 3
No , private member can't be access outside the class where it is defined.