Java uses 32 bits for the char tipe - so the max value is 65536.
But the following code give me the result reported in the title.
public static void main(String[] args) {
int a = 10000000;
char b = 33;
b = (char)a;
System.out.println((int)b);
}