22-12-2009, 09:05 PM | #1 |
Member
Join Date: Dec 2009
Posts: 50
Rep Power: 15 |
Main Method as private?
|
22-12-2009, 09:05 PM | #2 |
Member
Join Date: Dec 2009
Posts: 50
Rep Power: 15 |
The program compiles properly but at runtime it will give “Main method not public.” message.
|
Bookmarks |
Tags |
java interview question |
|
|