int a = 65;
char c = (char)a;
System.out.print(c);// Printing: A
char b = Integer.toString(a);//7-->"7"
char b = (char) b;//65-->"A"
int c=123;
String s = Integer.toString(c);
for(char ch: s.toCharArray())
System.out.print(ch+",");
Code Example |
---|
:: |
Java :: |
:: |
Java :: |
:: |
:: insert node at end of doubly linked list |
Java :: |
:: |
:: |
:: |
Java :: |
:: |
:: |
:: BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); |
:: |
:: |
:: |
:: |
:: |
:: |
Java :: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |