difference between method overloading and method overriding in java
Answers
Answered by
2
Method overloading deals with the notion of having two or more methods in the same class with the same name but different arguments. ... Method overriding is when a child class redefines the same method as a parent class, with the same parameters.
mambily1974:
add as brainliest
Answered by
0
Answer:
Overriding vs. Overloading in Java:-
Overloading occurs:-
when two or more methods in one class have the same method name but different parameters.
Overriding allows :-
a child class to provide a specific implementation of a method that is already provided its parent class.
Similar questions