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
Derive __________ when the features are required to be hidden from the outside world and at the same time required to be inheritable.
Privately
Publicly
Protected
Abstract
The transitive nature of inheritance is reflected by in ________ form of inheritance.
Hybrid
Hierarchical
Multiple
Multilevel
Combination of two or more forms of inheritance is
Single inheritance
Multiple inheritance
Multilevel inheritance
None of these
Which can be used, when the derived class requires to use some attributes of the base class and these inherited features are intended not to be inherited further ?
Not deriving
The most important advantage of inheritance is
Reusability
Overloaded function
Overloading
Initialization of object
Which of the following is not type of inheritance?
Distributive inheritance
Advantage of reusability is
Faster development time
Easier maintenance
Easy to extend
All these
When a subclass inherits from multiple base classes, it is known as
Hybrid inheritance
When many sub classes inherit from a single base class. It is known as
Hierarchical inheritance