Computer Science, asked by ayish3anani2k, 1 year ago

Difference Between Method Overriding and Method Overloading
What is the difference between method overriding and method overloading in Java?

Answers

Answered by Shyaren
0
Method overriding, in object oriented programming, is a language feature that allows a subclass or child class to provide a specific implementation of a method that is already provided by one of its super classes or parent classes.

Method Overloading is a feature that allows a class to have two or more methods having same name, if their argument lists are different. In the last tutorial we discussed constructor overloading that allows a class to have more than one constructors having different argument lists.
Similar questions