Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Can a main method be overloaded?

Have Programming Question? Ask it here!
 
 
 


Java Coder
Can a main method be overloaded?
1 Answer(s)      a year and 3 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



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com