Plus one to char variable
public class Main { public static void main(String[] args) { char a = 'A'; char b = (char) (a + 1); System.out.println(a + b); System.out.println("a + b is " + a + b); } }