Multiple Choice
Suppose that bClass is a class. Which of the following statements correctly derives the class dClass from bClass?
A) class dClass:: public bClass
{
//classMembersList
};
B) class dClass: private bClass
{
//classMembersList
};
C) class dClass:: protected bClass
{
//classMembersList
};
D) class bClass: public dClass
{
//classMembersList
};
Correct Answer:

Verified
Correct Answer:
Verified
Q8: If the derived class classD overrides a
Q13: The _ members of an object form
Q15: In OOD, a program is a collection
Q19: Which of the following is a valid
Q20: Consider the following class definitions: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB4784/.jpg"
Q26: OOP implements _.<br>A) UML<br>B) IPE<br>C) EIP<br>D) OOD
Q33: In multiple inheritance, the derived class has
Q35: If inheritance is private, all members of
Q36: A derived class can directly access the
Q37: In _ (aggregation), one or more members