Become a GOLD Member and access 40+ Technology Courses...
Live Help (Start Chat)
Interview Questions and Answer
Options:
a. Private members of base class are not accessible to derived class
b. Public members of base class are accessible
c. Protected members of the base class remain protected in derived class
d. Public members of the base class become protected in derived class
e. Private members of the base class are accessible to derived class
Reveal Answer
Options:
a. Reusability
b. No. of Derived class
c. Encapsulation
d. No. of base classes
Reveal Answer
Options:
a. Multilevel inheritance, multiple inheritance
b. Hierarchical inheritance, multilevel inheritance
c. Multiple inheritance, hybrid inheritance
d. Multipath inheritance, multilevel inheritance
Reveal Answer
Options:
a. By using virtual base class
b. Using derived class
c. By making the common base class as the virtual base class
d. None of the above
Reveal Answer
Options:
a. By using virtual base class
b. Using derived class
c. By making the common base class as the virtual base class
d. None of the above
Reveal Answer
Options:
a. Base class having zero argument
b. Base class with more than one argument
c. Base class with one or more arguments
d. Both a and b
Reveal Answer
Options:
a. Base class constructor followed by derived class constructor
b. Default class constructor followed by base class constructor
c. Both will execute simultaneously
d. Will execute in any way either a or b
Reveal Answer
Options:
a. Order of declaration of base classes
b. Order of inheritance
c. Order of declaration of derived classes
d. All of the above
Reveal Answer
Options:
a. Virtual base class
b. Abstract base class
c. Base class
d. Derived class
Reveal Answer
Options:
a. Base class
b. Base class constructor, destructor
c. Base class data members
d. Base class member functions
e. Base class friend’s
f. Base class assignment operator
Reveal Answer
Bestdotnet google plus