Answers for "print ascii number according to char in java"

8

how to convert an ascii number to character in java

// From Char to Ascii
char character = 'a';    
int ascii = (int) character;

// From Ascii to Char
int ascii = 65;
char character = (char) ascii;
Posted by: Guest on January-20-2021
-1

Java Program to Find ASCII Value of a characte

ASCII value of small letters i.e a = 97, b = 98, c = 99 ............... x = 120, y = 121, z = 122
ASCII value of capital letters i.e A = 65, B = 66, C = 67 .............. X = 88, Y = 89, Z = 90
Posted by: Guest on June-25-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language