While preparing for the OCA 808 exam (the Java SE 8 certification exam), I have been revisiting Java fundamentals. Not just the syntax I use daily, but the rules that define how the language actually behaves.

One detail that stood out early on is that Java’s switch statement only supports a limited set of data types.


Integer primitives: byte,...