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

In the accompanying figure, which label was centered using the Merge and Center button?

A. Description B. Invoice C. Price D. Item #

Computer Science & Information Technology

What is 9-slice scaling?

What will be an ideal response?

Computer Science & Information Technology

When you enter a URI, you're creating a(n) relative link, which is the full and complete address for the target document on the web._________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

With the Exclude Overlap pathfinder, a hole is created where objects overlap.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology