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
Q13: The new classes that we create from
Q14: Which of the following is a
Q15: Inheritance is an example of a(n) _
Q16: In multiple inheritance, the derived class has
Q17: If inheritance is private, all members of
Q19: _ is a "has-a" relationship.
A) Inheritance
B) Encapsulation
C)
Q20: Suppose that bClass is a class.Which of
Q21: To _ a public member function of
Q22: The _ members of an object form
Q23: In OOD, a program is a collection
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents