Q. What is the output of the below Java code snippet?
Code:char ch = 'A';//ASCII 65 int a = ch + 1; ch = (char)a; System.out.println(ch);
β
Correct Answer: (C)
B
char ch = 'A';//ASCII 65 int a = ch + 1; ch = (char)a; System.out.println(ch);
You must be Logged in to update hint/solution