In this example we will show the method to convert ASCII to character in Java.
Source Code
package com.beginner.examples;
public class ASCII2Char {
public static void main(String[] args) {
int i = 97;
System.out.println((char)i); // convert ASCII to character
}
}
Output:
a