Multiple Choice
Which of the following class definitions makes the public members of the class aClass become the public members of the class bClass?
A) class aClass: public bClass
{
//) ..
};
B) class bClass: public aClass
{
//) ..
};
C) class bClass: aClass
{
//) ..
};
D) class aClass: bClass
{
//) ..
};
Correct Answer:

Verified
Correct Answer:
Verified
Q5: In protected inheritance, public and protected members
Q8: Consider the following class definition: The class
Q10: The new classes that we create from
Q12: Which of the following statements about inheritance
Q14: C++ provides _ functions as a means
Q16: A derived class cannot directly access public
Q25: The constructor of a derived class cannot
Q27: If the derived class does not override
Q30: A call to the base class's constructor
Q38: If inheritance is public, all protected members