Multiple Choice
Which is the correct way to tell the compiler that the class being declared ChildClass) is derived from the base class BaseClass) ?
A) class ChildClass::public BaseClass
B) class ChildClass:public BaseClass
C) class ChildClass childOf public BaseClass
D) class ChildClass derived BaseClass
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q26: Which of the following would correctly call
Q27: The derived class may define variables and
Q28: A base class pointer variable can point
Q29: When deriving a class, you should<br>A) list
Q30: Give a base class with at least
Q32: The assignment operator is inherited from the
Q33: In order to tell the compiler to
Q34: The ifstream class is derived from the
Q35: When the derived class gets all the
Q36: If two functions in the same scope)