user image

Pooja Sharma

Job Interview Skills
English
2 years ago

11. What if the main() method is declared as private?

user image

Abhishek Mishra

2 years ago

The program compiles properly but at runtime it will give "main() method not public." message.

Recent Doubts

Close [x]