What is the result of the following Java code?
char symbol = 'Z'; symbol++; System.out.println(symbol);
Z
Y
A
An error occurs