Domanda di colloquio di Capital One

What is difference of Overriding and Overloading methods?

Risposta di colloquio

Anonimo

8 mar 2018

Overriding/Runtime Polymorphism- When you have same method name with same parameters in its parent and sub class. Overloading/Compiletime Polymorphism- When you have same method name but with different number/type of parameters in same class.