Code: Select all
class CharacterAutoboxing {
public static void main(String args[]) {
Character p = 97;
System.out.println(p);
Long l = 116L;
System.out.println(l);
// p = (int)l.longValue();
p = (char)(int)l.longValue();
System.out.println(p);
} // end of main
}