$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #225
What is the output?
System.out.println('a' + 'b' + "c");
abc
97bc
ab c
195c
Evaluation is left to right: 'a' + 'b' adds two chars as ints (97 + 98 = 195), then the String joins.
Play Problem Solving ▸
◂ #224
all Problem Solving — predict the output questions
#226 ▸