Sunday, 15 January 2012
JAVA : What if we have multiple main methods in the same class?
Do you like this Article?
No the program fails to compile. The compiler says that the main method is already defined in the class.
Subscribe to:
Post Comments (Atom)








1 Responses to “JAVA : What if we have multiple main methods in the same class?”
16 April 2012 11:53
you can over load the main method.....
Post a Comment