Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HOW TO CONVERT ASCII TO CHAR IN JAVA

843835May 24 2002 — edited May 24 2002
i can covert the letter 'a' to number 97 using
String name = "abcd";
out.println(name.charAt(0) + " = ACII = " + (int)charAt(0));
//--> display a = ASCII = 97

ok ....

but how can i do reverse of this

i give the number and he returns to me the letter according to ascii value ??????????????

HELP !!!!!!!!!!!!!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2002
Added on May 24 2002
1 comment
171 views