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,









Related Tutorials/Questions & Answers:
Advertisements