Convert ASCII to string


 

Convert ASCII to string

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

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

Ads