1.

Use of pointers or reference to an abstract class gives rise to which among the following feature?(a) Static Polymorphism(b) Runtime polymorphism(c) Compile time Polymorphism(d) Polymorphism within methods

Answer» Correct choice is (b) Runtime polymorphism

Easy explanation - The runtime polymorphism is supported by reference and pointer to an abstract class. This relies upon base class pointer and reference to select the proper virtual function.


Discussion

No Comment Found

Related InterviewSolutions