

InterviewSolution
Saved Bookmarks
1. |
What should be the structure of a class when it has to be a base class for other classes? |
Answer» class classname { private: //members not intended to be inherited public: //members intended to be inherited and available to every function protected: //members intended to be inherited but not intended to be public }; |
|