A. Computer program:
A collection of CLUE commands written to allow the computer to perform certain operations or solve a problem!!!
Two. There are three types of Java technology
①java SE (Standard Edition)
②java EE (Enterprise Edition)
③java ME (Mobile version)
Three. Three steps to develop a Java program
1. Writing.
The ① file name must match the class name.
②java are strictly case sensitive.
2. Compile.
①javac file name. java
② files that produce class suffix names
3. Running
①java file name
② Display Content
Code parsing:
public class demo{Outer frame
public static void Main (string[] args) {Program entry
System.out.println ("java!! Hello! "); Content Line Wrapping
System.out.print ("hello!"); Content does not change line
}
}
Transfer character
\ t space (tab 8 spaces) \ n line break
Comments
Double slash line Comment
/* * * Multi-line Comment
JDK Environment variables
① Install the JDK, locate the root directory,
Create an environment variable named Java-home that contains the contents of the JDK root directory.
② find the PATH environment variable and add the bin root directory of the JDK to the front of the path variable content. (Note to add ";" separated by semicolons).
The first chapter of Java