The main method of learning Java Tutorial

Source: Internet
Author: User

Learn to program the Java Tutorial Main method published, welcome to visit through the xuebiancheng8.com

The main method in Java is the entry for program execution. Such as

public class person{

public static void Main (String args[]) {

System.out.println ("Hello");

}

}

Above is the use of the main method, the type must be public static void return value method name must also be main, parameter args[] is an array can get the program execution of the parameter list.

For more information, please visit xuebiancheng8.com.

The specific URL is

Http://xuebiancheng8.com/play/goodgoodstudy_124_daydayup.html


The main method of learning Java Tutorial

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.