Custom Search

Friday, August 31, 2007

What if the main method is declared as private?


The program compiles properly but at runtime it will give "Main method not public." message.

No comments: