[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C++ Programming :: Inheritance - Discussion

Home > C++ Programming > Inheritance > MCQs Questions Discussion

11 / 20

Choose the correct option.

What is the difference between public and private inheritance?

AUnder public inheritance, public and protected members of the base class have their same status in the derived class

BUnder private inheritance, public and protected members of the base class all become private members of the derived class.

CBoth A & B

DNone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Wipro SAP Labs

Post Your Answer Here:     

No Discussion on this question yet!