employer cover photo
employer logo

Domanda di colloquio di CSC

What is the difference between Overloading and Overriding in Java?

Risposta di colloquio

Anonimo

29 lug 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.