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 type of the pointer.
B) from the class of the object that is pointed to.
C) from the base class of the inheritance hierarchy.
D) from the derived class of the base pointer object.
E) None of the above

B) from the class of the object that is pointed to.

Computer Science & Information Technology

You might also like to view...

Before installing any software, it's always important to back up your system and to create a(n) ________, which enables you to go back to your computer's previous settings if anything goes wrong during a new software installation

Fill in the blank(s) with correct word

Computer Science & Information Technology

A Report Header displays information ________

A) at the top of the first page of the report B) at the top of all pages of the report C) on the cover sheet of the report D) at the top of odd numbed pages of the report

Computer Science & Information Technology