convert char array to ascii java 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)