Can a main method be overloaded?

Hi,

Can a main method be overloaded?

thanks,

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









Related Tutorials/Questions & Answers:
Advertisements