Online Hibernate Training just in Rs. 1000

One week online training in Hibernate ORM framework. Learn Hibernate Framework and enhance your skills. Best Online Hibernate training at 90% discount. Join Now!! Offer is valid Only for limited Period!!! Online Training Big Data and Hadoop Training Java Training  
 

What is the return type of the main method?

Ads

 
 

Share on Google+Share on Google+

Java Coder
What is the return type of the main method?
1 Answer(s)      4 years and 4 months ago
Posted in : Java Beginners

hi,

What is the return type of the main method?

thanks

Ads
View Answers

April 10, 2013 at 6:33 PM


Hi,

In the java programming the Main() method doesn't return anything hence declared void. In Java, you need to have a method named main in at least one class. The following is what must appear in a real Java program.

For more visit http://www.roseindia.net/java/java-methods/java-method-synchronized.shtml

Hope this reference will very helpful for java beginners.

Thanks


Ads









Related Tutorials/Questions & Answers:
Advertisements