Loading…

What are the difference between overloading and overriding in oops?

Overloading : It occurs when two or more methods in one class have the same method name but different parameters.

Overriding : It 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.

Suggest An Answer

No suggestions avaliable!

Latest post from oops interview questions

Ask Question