Home Tutorial Java Corejava Convert ASCII to string

 
 

Share on Google+Share on Google+
Convert ASCII to string
Posted on: June 29, 2010 at 12:00 AM
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

Advertisement

Related Tags for Convert ASCII to string:


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.

Posted on: June 29, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com