$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #219
What is the output?
char c = 'A'; c += 2; System.out.println(c);
67
C
A2
B
Compound assignment casts back to char, so A moves two code points forward to C.
Play Problem Solving ▸
◂ #218
all Problem Solving — predict the output questions
#220 ▸