The most important advantage of inheritance is
Reusability
Overloaded function
Overloading
Initialization of object
Derive ___________ when the situation wants the derived class to have all the attributes of the base class, plus.
Publicity
Privately
Protectively
None of these
New class or classes can be derived from an existing class. This class is called
Subclass
Derived class
Base class
Child class
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
Which member of a base class are not directly accessible to derived class?
Public
Protected
Private
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 ?
Publicly
Not deriving
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 is the capability of one class to inherit properties from another class ?
Inheritance
Constructor
Destructor
When a subclass inherits from multiple base classes, it is known as
Hybrid inheritance