What restrictions are placed on method overloading?

What restrictions are placed on method overloading?

Hi,

What restrictions are placed on method overloading?

thanks,

View Answers

April 16, 2013 at 5:06 PM

Hi,

The main restriction of Methods of overloading is that the two methods and argument list are not the same name. But different return type.

For More Details read this link articles

http://www.roseindia.net/help/java/m/method-overloading-in-java.shtml

Thanks,

Ads









Related Tutorials/Questions & Answers:
What restrictions are placed on method overloading?
What is an abstract method?
Advertisements
What is a native method?
What is the arguement of main method?
what is web .config method
what is ment by method signature in java.......
What is the difference between a constructor and a method?
What is use of method overloading and overriding?
What is the return type of the main method?
What if the main() method is declared as private?
What is the access scope of a protected method?
What is the difference between GET and POST method?
what is the use of Hibernate Sessionfactory close() method?
What is the first argument of the String array in main() method?
Hibernate Criteria And Restrictions Example
What are the restriction imposed on a static method or a static block of code?
what does mean of method("1") in below struts.xml file
how to override the hashCode() method ? and What is the advantage of overide the hashcode().
Shortcomings And Restrictions of RIAs
Hibernate Criteria Restrictions
JAVA what is different between static block and public static void main(String a[]) method
What is the equivalent method in Java which is equivalent to clrscr() in c/c++ . The code should help to clear the output screen ?
method
method
init method
JDBC Batch commit method Example
Identify correct and incorrect statements or examples about EJB programming restrictions.
Static method
gc() method
Method
Checkbox method

Ads