1.

What does a virtual function ensure for an object, among the following?

A. Correct method is called, regardless of the class defining it
B. Correct method is called, regardless of the object being called
C. Correct method is called, regardless of the type of reference used for function call
D. Correct method is called, regardless of the type of function being called by objects
Answer» D. Correct method is called, regardless of the type of function being called by objects


Discussion

No Comment Found

Related MCQs