BASIC CONSTRUCTS

20. How to convert int to char

            class IntToChar{
                public static void main(String st[]){
                    int num = 65;
                    char c = (char)num;
                    System.out.println("Converted Char : "+c);
                }
            }
        

OUTPUT

            Converted Char : A