1int yourInt = 33;
2char ch = (char) yourInt;
3System.out.println(yourInt); // 33
4System.out.println(ch); // !
1 char a ='7';//Convert your number to character
2 System.out.println((int)a);//Convert your character to int and ASCII code will be printed