employer cover photo
employer logo

Sollicitatievraag bij CSC

What is the difference between Overloading and Overriding in Java?

Antwoord op sollicitatievraag

Anoniem

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