Computer Science, asked by TbiaSamishta, 1 year ago

Explain the difference between method overloading and method overriding.

Answers

Answered by aqibkincsem
0

"In overloading, the different methods in one class have same name but have different parameters.

In overriding, the methods as well as the parameters have same names.

In overloading polymorphism is not applicable but it is applicable in overriding.

Overloading is a compile-time concept but the later is a run-time concept."

Similar questions