1.  In Multipath inheritance, in order to remove duplicate set of records in child class, we ___________ .


Write Virtual function in parent classes
Write virtual functions is base class
Make base class as virtual base class
All of these


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

2.  Single inheritance has


Two base and one derive class
One base and one derive class
Two base and two derive class
None of these


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

3.  In multiple inheritance


the base classes must have only default constructors
cannot have virtual functions
can include virtual classes
None of the above


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

4.  If the derived class is struct, then default visibility mode is ____________ .


public
protected
private
struct can't inherit class


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

5.  During a class inheritance in CPP, if the visibility mode or mode of derivation is not provided, then by default visibility mode is___________.


public
protected
private
friend


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report