employer cover photo
employer logo
employer logo

Riverbed Technology

Is this your company?

Riverbed Technology Interview Question

What is the difference between overriding and overloading?

Interview Answer

Anonymous

Apr 3, 2019

Overloading occurs when two or more methods in one class have the same method name but different parameters. Overriding means having two methods with the same method name and parameters. One of the methods is in the parent class and the other is in the child class. Overriding allows a child class to provide a specific implementation of a method that is already provided its parent class.

1