+ 2
OVERLOADING VS OVERRIDING.
Question says it All.
2 Answers
+ 2
Got it,
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.
Source :- Google
0
here is an example that you may want to check to see difference or understand the meanings of overriding and overloading https://code.sololearn.com/c0awDMpDLukF/?ref=app