The Artima Developer Community
Sponsored Link

Java Answers Forum
ASCII value to character

1 reply on 1 page. Most recent reply: Sep 8, 2003 2:13 AM by David

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Kevin

Posts: 27
Nickname: quasi
Registered: Apr, 2003

ASCII value to character Posted: Sep 8, 2003 1:52 AM
Reply to this message Reply
Advertisement
Is there any way to convert an Ascii value into a character i.e ascii 65 to character 'A' .
Thanks for any help in advance


David

Posts: 150
Nickname: archangel
Registered: Jul, 2003

Re: ASCII value to character Posted: Sep 8, 2003 2:13 AM
Reply to this message Reply
Please note - Java uses Unicode, a superset of ASCII characters.
public class Convert {
        public static void main(String[] args) {
                char c = 65;
                System.out.println(c); // "A"
        }
}

Flat View: This topic has 1 reply on 1 page
Topic: Process in JSP....urgent!!! Previous Topic   Next Topic Topic: copy the properties of one Bean to another Bean

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use