A few tips to know before Java programming

Source: Internet
Author: User

1. First of all, the meaning of a few English abbreviations

Javase standard Java EE Enterprise Edition javame mini Edition

Sdk:soft developement Kit, developer kit, including JDK Jdk:java developement kit Jre:java Runtime Environment Jvm:java virtual machine

2. Install JDK must have JRE, install JRE to run JVM

3. The following two items are required when configuring environment variables:

Java_home: Pointing to the JDK installation directory Path: Point to the Bin directory and use the tools in the bin for easy

4.public Class Name: The class name must be exactly the same as the file name.

5.public static void Main (string[] args) {}:main method four elements are essential

6. Note: Generally 30% of total code

1) Single-line comment "//balablablabala"

2) Multi-line Comment "/* balabalabla*/"

3) Documentation Comments: Generate API documentation (export Javadoc), commonly used to annotate classes, annotation methods

“  /**
*balalala
*balalala
*/ ”

7.java is a case-sensitive language.

int Student, and int Student; is a different two variable.

A few tips to know before Java programming

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.