(char) 0+: Indicates the character corresponding to the number 0
Apply Loop statement: for (int i=0;i<127;i++) {
System.out.println ((char) i+ ":" +i);}
Output 0~126 corresponding character (Nuicode code)
The translate character \ n carriage return \ t tab stop characters \ \ means \ ' represents ' \ ' means: ' \u4e2d
Task
: System.out.print (' \u4e2d ' + ":");
System.out.println (4*math.pow (16,3) +14*math.pow (16, 2) +2*16+13);
System.out.println ((char) 20013+ ":" +20013);
System.out.println ("Me and you are not in line");
System.out.println ("T here I am");
System.out.println ("System.out.println" ("double quotes are also shown);");
Boolean:only given True and false
Define Boolean:boolean Ispass
EXAMPLE:65 Pass the test
Boolean ispass;
Ispass=true;
SYSTEM.OUT.PRINTLN ("Pass the test:" +ispass);
Ispass=false;
System.out.println ("Fall The Test:" +ispass);
ispass=65>=60;
System.out.println (65+ "qualified" + Ispass);
Export:pass the Test:true
Fall The Test:false
Qualified true