Capgemini interview question

How is runtime polymorphism and compile time polymorphism achieved.

Interview Answer

Anonymous

Apr 15, 2024

Runtime polymorphism is achieved by virtual function. Compile-time polymorphism is obtained through method overloading.