
public class NextSymbol
{
    public static void main(String[] args) 
    {
        char c;

        c = 'X';    // Change this and demo

        System.out.println(c);
    
        c = (char) (c + 1);
        System.out.println(c);
    }
}  
