Discuss and define function in java programming. Define Overloading function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Discuss and define function in java programming. Define Overloading function?

Can anyone help me to answer this question.

23rd Oct 2018, 8:28 AM
BaseTech Top Videos
BaseTech Top Videos - avatar
3 Answers
+ 3
Method Overloading is a feature that allows a class to have more than one method having the same name, if their argument lists are different. It is similar to constructor overloading in Java, that allows a class to have more than one constructor having different argument lists.
23rd Oct 2018, 8:51 AM
Googel
Googel - avatar
+ 1
Is it function and method are same?
23rd Oct 2018, 8:54 AM
BaseTech Top Videos
BaseTech Top Videos - avatar
+ 1
methods are functions of an object
23rd Oct 2018, 9:10 AM
jtrh
jtrh - avatar