Answers for "convert int to ascii java"

1

convert int to ascii java

int yourInt = 33;
char ch = (char) yourInt;
System.out.println(yourInt); // 33
System.out.println(ch); // !
Posted by: Guest on October-26-2020
0

convert int to ascii java

char a ='7';//Convert your number to character
       System.out.println((int)a);//Convert your character to int and ASCII code will be printed
Posted by: Guest on July-12-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language