About Question enthuware.ocajp.i.v8.2.1440 :
Posted: Fri Oct 30, 2015 6:07 am

The explanation of first option was interesting for me and decided to investigate it. I encountered the interesting case when try to compile this code. The compile error occurs in only switch statement not a case statement.

When we call getString() instead of getBool() in the switch compile error occurs in case statement but as another reason which is noted in explanation of question 65 (Test 2):
Therefore it may be written “switch statement” or “switch or case statements” instead of “case statement” in explanation of option 1.2. The case constants must be assignable to the switch variable. For example, if your switch variable is of class String, your case labels must use Strings as well.