Method Overloading in java

Share this on :

When two or more functions have same name but different parameter list then this concept is called method overloading.Number,type and order of parameters can be different.Return type of method can be same or different.It is a mechanism to achieve polymorphism in javaWhen we want to perform different task from one method then we use concept of overloading

Share this on :