0
What is method overloading in java?
i want to known about method overloading in depth.
2 Antworten
+ 12
Method overloading is when you use the same name when declaring a function(method). It should be noted that the function can not change its type.
i.e.
int function (){
}
//can not be changed to
void function (){
}
0
i think method overloading is create methods that have same name but different parameters lists and definition, this is called method overloading