Saturday, April 28, 2012

What if we have multiple main methods in the same class?

No the program fails to compile. The compiler says that the main method is already defined in the class.

No comments:

Post a Comment