OCP 17 Exam - chapter 3 notes (switch, loops, pattern matching, flow scoping)
“watch indentation and braces”, e.g. in the following example count is always incremented if (count < 2) System.out.println("Good day"); count++; “pattern matching was introduced to ...