Tuesday, November 29, 2011

What is method overloading?

Method Overloading means to have two or more methods with same name in the same class with different arguments. The benefit of method overloading is that it allows you to implement methods that support the same semantic operation but differ by argument number or type.:Method overloading refers to using of two methods with the same names in a class.
Category:Core Java Interview Questions

No comments:

Post a Comment