Java Junior Development Programmer (Unit seventh; Summary of the first six chapters)

Source: Internet
Author: User
Tags java se

The first chapter summarizes:

1.java is a high-level programming language introduced by Sun (now Oracle, Inc.) in 1995, and Java technology can be used on almost all types and sizes of devices, from computer chips to cellular phones to supercomputers, everywhere.

2. In the current software development industry, Java has become the absolute mainstream of Java, Java SE, Java EE has developed into the Microsoft (Microsoft) Company's C # and. NET technology is divided into the world of application software development technology and platform. Therefore, some people say that mastering the Java language is the "main vein" of software development.

3. Develop in Notepad

①: Write the source program in Notepad to format the file name. Java Otherwise, the source program cannot be found

②: Compile Javac file name. java

③: Run the Java file name. java

Structure of the 4.java program

public class hello{//Outer structure

public static void Main (String[]args) {//Inner structure * A program can have only one main method

}

}

Comments in 5.java:

Single-line Comment://

Multiline Comment:/* */

Document Comment:/** */

6.java Specification:

> class names must be decorated with public

> Write one line of code

> Parts enclosed in {} usually represent a hierarchy of programs. "{" is usually placed at the bottom of the start line of this structure,

"}" is aligned with the first letter of the institution and takes up a separate line.

> A low-level statement or comment should be indented a few spaces after a statement or comment at a higher level, making the program more

Clarity and increase the readability of the program.

Java Junior Development Programmer (Unit seventh; Summary of the first six chapters)

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.