+ 2

OVERLOADING VS OVERRIDING.

Question says it All.

7th Mar 2017, 9:39 AM
Meharban Singh
Meharban Singh - avatar
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
7th Mar 2017, 9:54 AM
Meharban Singh
Meharban Singh - avatar
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
11th Sep 2017, 2:51 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar