Question: Which of the following statements is correct when a class is inherited privately?

Options

A : Public members of the base class become protected members of derived class.

B : Public members of the base class become private members of derived class.

C : Private members of the base class become private members of derived class.

D : Public members of the base class become public members of derived class.

Click to view Correct Answer

Previous || Next

Objects and Classes - General Questions more questions

Which of the following also known as an instance of....

Constructor is executed when _____.

Which of the following statements about virtual base classes is....

How many objects can be created from an abstract class?

What does the class definitions in following code represent?

Which of the following statements is correct?

What does a class hierarchy depict?

Which of the following can be overloaded?

Which of the following means "The use of an object....

Which of the following is the only technical difference between....

Constructors and Destructors - General Questions more Online Exam Quiz

Unix - Part 1

Windows 2000 Server - Part 1

Windows NT - Part 1

Constructors and Destructors - General Questions

Functions - General Questions

OOPS Concepts - General Questions

References - General Questions

Arrays - General Questions