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