Share on Google+Share on Google+

Convert ASCII to string

Advertisement
This example help you to convert ASCII to string in java.

Description:

This tutorial demonstrate how to convert ASCII to string . 

Code:

public class IntToChar{
  public static void main(String[] argsthrows Exception {
    int i = 65;
    String aChar = new Character((chari).toString();
    System.out.println(aChar);
  }
}

Output:

Download this code

Advertisements

Posted on: June 29, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.