ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What is method overloading in Java ?

Method overloading in Java is a programming concept when programmer declare two methods of same name but with different method signature e.g. change in argument list or change in type of argument.

Popular example of method overloading is System.out.println() method which is overloaded to accept all kinds of data types in Java. You have println() method which takes String, int, float, double or even char in output.

Related Posts Plugin for WordPress, Blogger...
Flag Counter