Solved

When a Virtual Member Function of a Class in a Class

Question 14

Multiple Choice

When a virtual member function of a class in a class hierarchy is invoked through a pointer to an object in the class hierarchy, the compiler will select the member function to be invoked


A) from the class of the object that is pointed to.
B) from the class of the type of the pointer.
C) from the base class of the inheritance hierarchy.
D) from the derived class of the base pointer object.
E) None of the above

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