KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > IntToChar


1 public class IntToChar {
2
3     public static void main(String JavaDoc [] args){
4         int x = 7;
5         char c = (char)x;
6         System.out.println(c);
7     }
8 }
9
Popular Tags