KyaPoocha.com

Huge Collection of Interview Questions


Can I 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.



If you liked this question/asnwer, make sure you
Subscribe to KyaPoocha.com RSS feed!


BOOKMARK THIS : BlinkList | del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb |