Convert ASCII to string

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

 
 

Share on Google+Share on Google+

Convert ASCII to string

Ads

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