Infosys Interview Question

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

Interview Answer

Anonymous

Sep 16, 2024

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