There are several types of escape characters in Java, which are common:
Octal escape character, format: \ + 1 to 3-bit octal digits, such as \1, \20, range from/to \377, that is, the maximum value is 255.
Unicode escape character, format: \u + four hexadecimal digits, range \u0000 ~ \uffff, i.e.: 0~65535
Special characters, including 3: \ ": double quotes; \ ': single quote; \ \: Backslash
Control characters: include 5: \ ' single quote character; \ \ backslash character; \ r carriage return; \ n Wrap; \f The paper for the page; \ t horizontal jump grid; \b Backspace
So/72 is octal, as decimal 58 corresponds to ASCII encoded as colon
1. in ASCII code, there are 4 groups of characters: a group of control characters, such as LF,CR , etc., the corresponding ASCII code value is the smallest ;
Group 2 is the number 0~9;
The first 3 groups are uppercase letters A~Z;
The first 4 groups are lowercase letters a~Z.
The corresponding values of these 4 groups are gradually becoming larger. The relation of the character corresponding to the value is " lowercase letter is larger than the corresponding number of uppercase letters, the greater the value of the future corresponding to the greater "
2.ASCII Code is the United States Standard Information Interchange code, by the International Organization for Standardization designated as a standard, there are 7 -bit code and 8 -bit code two versions, more commonly used is 7 -bit code.
3.ASCII Code is a 7 -bit binary number for the encoding of a character, its encoding range from 0000000Bto1111111B, a total of 27=128 a different coded value.
1.in ASCII code, there are 4 groups of characters: one is control characters, such as LF,CR , etc., the corresponding ASCII code value is the smallest ; Group 2 is the number 0~9, the 3 Group is the capital letter a~Z, and the group 4 is a lowercase letter a ~z. The corresponding values of these 4 groups are gradually becoming larger. The relationship of the corresponding numeric value of the character is " lowercase letters are larger than uppercase letters, and the older the characters, the greater the value " 2. ASCII Code is the United States Standard Information Interchange code, by the International Organization for Standardization designated as a standard, there are 7 -bit code and 8 -bit code two versions, more commonly used is 7 -bit code. 3.ASCII Code is a 7 -bit binary number for the encoding of a character, its encoding range from 0000000Bto1111111B, a total of 27=128 a different coded value.
Java Escape character