Notifications Mark All Read
Super Saver Sale is live now. Grab 30% flat off on all subscription.
Use Coupon Code SAVER
June 23, 2019
in protected inheritance, the public and protected members become protected members in the derived class. In the private inheritance, everything is private. However, the derived class can never access the private members of the base class, The derived class can access the public and protected members in both cases.
Please login to submit your explanation
You can check your performance of this question after Login/SignupLogin
Public members of the base class become protected members of derived class.
Public members of the base class become private members of derived class.
Private members of the base class become protected members of derived class.
Public members of the base class become public members of derived class.
Mainly Private is used by default.
Any function in the program.
All global functions in the program.
Any member function of that class.
Only public member functions of that class.
Any member function of that class can easily access the data members.
It is used to provide multiple inheritance.
It is used to avoid multiple copies of base class in derived class.
It is used to allow multiple copies of base class in a derived class.
It allows private members of the base class to be inherited in the derived class.
Currently there is no PrepInsta Explanation. Did you know?
You can also submit your own version of explanations under user explanation section and also view other submitted explanations by other users.
Binds together code and data
Using single interface for general class of actions.
Please login to report
Login/Signup to comment