Ask a Question
Advertise on boostr.in
boostr.in questions - Question:What if the main method is declared as private?
The program compiles properly but at runtime it will give "Main method not public." message.
Sep 13, 2013
Java Interview Questions
Sep 12, 2013
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please