Computer Science, asked by rajeshmauryamau25, 10 months ago

What is the difference between overriding and overloading?

Answers

Answered by rinagupta013
0

Answer:

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 (i.e., method signature). One of the methods is in the parent class and the other is in the child class.

Explanation:

Hope it helps

Answered by harshukondeti2003
0

Answer:

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.

Please follow me guys

Similar questions