Which of the following is not true in case of public inheritance in C++?
KVS TGT/PGT 2018Kendriya Vidyalaya Sangathan 2018
Which of the following is not true in case of public inheritance in C++?
- A.
Each public member in the base class is public in the derived class.
- B.
Each protected member in the base class is protected in the derived class
- C.
Each private member in the base class remains private in the base class.
- D.
Each private member in the base class remains public in the derived class.
Attempted by 667 students.
Sign up free to check your answer
Sign up freeLoading lesson…

