Question d’entretien chez Elevate Credit

What is method overloading and method overriding

Réponse à la question d'entretien

Utilisateur anonyme

23 août 2018

-Method Overloading is when 2 or more methods have the same naming convention with a different argument in the same class. -Method Overriding is when 2 or more methods have the same naming convention and the same argument. One method in the parent class and the other in the child class