how to type a character using ascii code in jva code example Example: how to add a number to the ascii value of a char in java char a = 97+1; char b = 'a'+2; r = (char)(1+5)