Convert ASCII char to string

ASCII, which stands for American Standard Code for Information Interchange, is a code that assigns letters, numbers and basic punctuation to numbers 0 to 127. It includes numbers from 0-9, letters a-z and capital A-Z. In the event you have a int value that represents ASCII code, you might want to convert that letter, number or punctuation into a readable format. This example will show how to convert ASCII char to a string in java.

Straight up Java

@Test
public void convert_ascii_to_string() {

    char letterA = 97;

    String lowerAAsString = Character.toString(letterA);

    assertEquals("a", lowerAAsString);
}