Java (1-24) [Introduction, entry procedures, constants, variables, type conversion]

 

3.

4.

 

 

5.

javac.exe compiler

the interpreter java.exe

6.

Hello World big hump

helloWorld small hump

7.

Character constant: // null character can not be entered must have a character between the two single quotes

bool type of true and false can be directly displayed

The last one is the wrong wording, can not display null

8. The basic data types

9. Note that the use of long type digital to increase L, float empathy

num6=3000000L;

System.out.println(num6);

10.

 

 

Published 24 original articles · won praise 6 · views 455

Guess you like

Origin blog.csdn.net/qq_39965800/article/details/103624746