4.2.21.You cannot simply convert a char to a short with code
public class MainClass { public static void main(String[] argv) { char ch = '\u8243'; short s = ch; // Error short x = (short) ch; // ok
System.out.println();
}
}
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Type mismatch: cannot convert from char to short
at MainClass.main(MainClass.java:4)