What is the difference between method overloading and method overriding? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between method overloading and method overriding?

Can you answer my question?

18th Jul 2019, 5:29 PM
Bhanu Krishna
3 Answers
18th Jul 2019, 6:39 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 12
Overloading If you have multiple method with same name but diffreant parameters thats called method Overloading Overriding If you have multiple method with same name and same parameters but in different class that situation called method overriding
18th Jul 2019, 5:54 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
0
Tq
1st Aug 2019, 11:12 AM
Bhanu Krishna