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...

Many companies use sophisticated measurements to assess the effectiveness of their social media marketing strategy

Indicate whether the statement is true or false

Computer Science & Information Technology

____ store all the formatting that you have applied to objects and text.

A. Assets B. Sites C. Libraries D. Files

Computer Science & Information Technology

The Excel Options dialog box is on the Developer tab

Indicate whether the statement is true or false

Computer Science & Information Technology

To be certain that all images are downloaded into a cache before commencing an animation sequence, you use the ____ event handler of the Image object.

A. onload B. onsubmit C. onfinish D. onclose

Computer Science & Information Technology