2. 35. 2. Character Escape Sequences |
|
A backslash indicates the start of an escape sequence. |
An escape sequence for a Unicode character: adding '\u' in front of the code |
Website for unicode http://www.unicode.org/ |
public class MainClass{
public static void main(String[] arg){
char myCharacter = '\u0058';
System.out.println(myCharacter);
}
}
|
|
X |