How to use Unicode in Java?

To create a character from its Unicode in Java, prepend the Unicode value with \u like so: '\u0041'.

Here's how you do it:

char letterA = '\u0041';

System.out.println(letterA); // A

Check out the Code column in the List of Unicode characters to see possible values.