posted 18 years ago
Hi!
Java uses Unicode and not ASCII. but the ASCII character set forms the first 255 characters of Unicode, so all the ASCII values remain unchanged.
You can do a simple typecast to get the value.
int a = 65;
char ch = (char)a;
will assign 'A' to ch.