Mohan's JavaBook
Java Interview Questions
ContactUs :
Please send your Questions & Answers or Feedback to "mohan@javabook.org"
What if the main method is declared as private?
The program compiles properly but at runtime it will give "Main method not public." message.
Newer Post
Older Post
Home