employer cover photo
employer logo

Question d’entretien chez CSC

What is the difference between Overloading and Overriding in Java?

Réponse à la question d'entretien

Utilisateur anonyme

29 juil. 2015

Explained that overloading is when multiple methods have the same name but different parameters; overriding is when a method in a subclass has the same name as a method in a parent class, but flow of control goes to the subclass, hence redefining (overloading) the method.