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)