Java Coder
Can a main method be overloaded?
1 Answer(s)      2 years and 4 months ago
Posted in : Java Beginners

Hi,

Can a main method be overloaded?

thanks,

Advertisement
View Answers

April 11, 2013 at 12:07 PM


Hi,

Yes, In Java program we could having multiple number of main() methods with different Signature and implementation in the class.

for more related to http://www.roseindia.net/answers/viewqa/Java-Interview-Questions/11577-Main-method-overloading.html