Java Coder
What restrictions are placed on method overloading?
1 Answer(s)      2 years ago
Posted in : Java Beginners

Hi,

What restrictions are placed on method overloading?

thanks,

Advertisement
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