Is it possible to access private members of a base class in derived class, directly?
Directly you can't access private members of a base class into derived class.
Note: private variables, methods will not be inherited to derived classes. There is no way that you can access them directly. But indirectly through some nested classes or through public methods it is possible to access.
Back To Top