char a = (char) 65;
int c=123; String s = Integer.toString(c); for(char ch: s.toCharArray()) System.out.print(ch+",");