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:

Verified
Correct Answer:
Verified
Q1: To indicate that a member function of
Q4: In C++ polymorphism is very difficult to
Q4: A class with at least one pure
Q5: functions are dynamically bound by the compiler.<br>A)Constructor<br>B)Static<br>C)Destructor<br>D)Virtual<br>E)None
Q6: Declaring a member function of a class
Q7: An abstract class is<br>A)one that supports polymorphism.<br>B)one
Q8: to a base class may be assigned
Q9: Polymorphism is when in a class hierarchy
Q10: A pure virtual function<br>A)must be accompanied by
Q18: Static binding occurs when the compiler binds