Which type of base class members are not directly accessible to derived class?
Public
Protected
Private
Internal
Which of the following statement is not true about inheritance?
Data hiding
Over riding
Doesn't help in resuability of code
Program development time is reduced.
What is the most important advantage of inheritance?
Reusability
Overloaded function
Overloading
Initialization of object
Which is the default visibility mode in C++?
public
protected
internal
private
Which of the following is correct when a class is inherited publically?
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 protrctrd members of derived class.
Public members of the base class become public members of derived class
Which of the following is not the type of an inheritance?
Multiple inheritance
Single inheritance
Multilevel inheritance
Distributive inheritance
What is hybrid inheritance?
Combination of hierarchical and multiple inheritance
Combination of hierarchical inheritance
Combination of multiple and multilevel inheritance
Combination of single and hierarchical
Which among the following is not an OOP characteristic?
Inheritance
Polymorphism
Abstraction
Nesting of class
Which class is serving only as a base class for other classes?
Abstract class
Base class
Derived class
Containership
What happens to the private members of base class when classes are inherited publicly, protectedly or privately?
not inherited
inherited
may be inherited
none