Discuss and define function in java programming. Define Overloading function? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponses
+ 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