integer class to char java code example
Example 1: int to char java
int a = 65;
char c = (char)a;
System.out.print(c);// Printing: A
Example 2: java integer object to char
char ch = o.toString().charAt(0)
int a = 65;
char c = (char)a;
System.out.print(c);// Printing: A
char ch = o.toString().charAt(0)