Domanda di colloquio di Infosys

Can you explain the difference between compile-time and run-time polymorphism?

Risposta di colloquio

Anonimo

16 set 2024

Compile-time polymorphism is achieved using method overloading or operator overloading, while run-time polymorphism is achieved using method overriding with inheritance.