Java Coder
What if the main() method is declared as private?
2 Answer(s)      3 years and 4 months ago
Posted in : Java Beginners

Hi,

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

Thanks

Ads

View Answers

April 9, 2013 at 1:27 PM


Hi,

I have found some reference site for java programming coding for Main() method is declared as private.

Visit this link may help you for getting examples with syntax related to main() method declared as privation.

Thanks,



April 10, 2013 at 2:58 PM


Hi, it shoud compile but it show some run time exception.










Related Tutorials/Questions & Answers:

Ads

Advertisement