There are four of escape characters in Java:
Java literal characters:
1. Eight binary escape sequence: + 1 to 3 digits 5 digits; Range ' 00 ' ~ ' 377 '
: null character
2.Unicode escape Character: U + four hexadecimal digits; 0~65535
u0000: null character
3. Special characters: 3
": Double quotes
': Single quotes
\: Backslash
4. Control characters: 5
R carriage
N Line Wrapping
F Walk Paper Change page
T horizontal jump lattice
b BACKSPACE
Rules that use these escape characters: normal escape character sequences and octal escape characters are much better than Unicode escape characters because, unlike Unicode escape characters, the escape character sequence is processed after the program is parsed into various symbols. Unicode escape characters can cause confusion because they are handled prematurely in the compilation sequence. In summary, the first choice in string and character literal constants is the escape character sequence, not the Unicode escape character.