Home Tutorial Java Corejava Convert ASCII to string

 
 

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

Related Tags for Convert ASCII to string:


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.