InterviewSolution
Saved Bookmarks
| 1. |
What If The Main Method Is Declared As Private? |
|
Answer» The program COMPILES properly but at RUNTIME it will give “MAIN METHOD not public.” message. The program compiles properly but at runtime it will give “Main method not public.” message. |
|