0

what is the difference between method overloading and method overriding

31st Aug 2016, 5:24 AM
Dheeraj Reddy
Dheeraj Reddy - avatar
2 Answers
+ 4
overloading is when you have multiple methods with the same name but different parameters. Overriding, is when a child class overrides it's parent classes method in order to change its functionality.
31st Aug 2016, 6:05 AM
James
James - avatar
+ 3
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, 3:12 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar