Solved

Which Is the Correct Way to Tell the Compiler That

Question 31

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions