The program compiles properly but at runtime it will give "Main method not public." message.
[Source: JAGAN MOHAN "Interview questions bible"]
[Source: JAGAN MOHAN "Interview questions bible"]