Answers for "how to get the ascii value of a n integer in java"

5

number to char java

char b = Integer.toString(a);//7-->"7"

char b = (char) b;//65-->"A"
Posted by: Guest on June-29-2020
-2

how to add a number to the ascii value of a char in java

char a = 97+1;
char b = 'a'+2;
r = (char)(1+5)
Posted by: Guest on July-20-2020

Code answers related to "how to get the ascii value of a n integer in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language