Answers for "java get ascii value of int"

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

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language