0
A inherited class is inherited with private visibilty mode.Can it access the data members and functions of the base class?
2 Antworten
+ 1
The derived class can access the public and protected members of the base class (as usual). The fact that the inheritance is private only means that those inherited members are private in the derived class.
- 1
If functions and members of base class are in public or protected section and you will try to use them in public or protected section in inherited class that should work