0
How i covert a ASII code (which is store in a variable) into char in java.
plz give the answer
1 Respuesta
+ 11
●explicit typecasting from int to char.
//here is an example in Java :
for(int x=0;x<255;x++){
char y=(char)x;
//using (char) to convert int to char [explicit typecasting]
System.out.println(x+" ==> "+y);
}