Solved

Which Is the Correct Way to Tell the Compiler That

Question 28

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents