Domanda di colloquio di Capgemini

How is runtime polymorphism and compile time polymorphism achieved.

Risposta di colloquio

Anonimo

15 apr 2024

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