Question d’entretien chez Revature

What is the different between method overloading and method overriding?

Réponse à la question d'entretien

Utilisateur anonyme

24 mai 2021

Overloading occurs when two or more methods in one class have the same method name but different parameters Overriding having two methods with the same method name and parametrers overriding is run-time concept while overloading is a compile-time concept

1