1.

Which is a must condition for virtual function to achieve runtime polymorphism?

A. Virtual function must be accessed with direct name
B. Virtual functions must be accessed using base class object
C. Virtual function must be accessed using pointer or reference
D. Virtual function must be accessed using derived class object only
Answer» D. Virtual function must be accessed using derived class object only


Discussion

No Comment Found

Related MCQs