+ 1
Discuss and define function in java programming. Define Overloading function?
Can anyone help me to answer this question.
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.
+ 1
Is it function and method are same?
+ 1
methods are functions of an object