Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners What if the main() method is declared as private?

Have Programming Question? Ask it here!
 
 
 


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


Hi,

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

Thanks


Advertisement
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:
Advertisements
 

 

 

DMCA.com