Controlling Program Flow
Introduction
This lesson covers the second objective of the Oracle Certified Professional Java SE 21 Developer exam (1Z0-830): Controlling Program Flow. Oracle does not publish a weighting per objective, but flow control is everywhere: nearly every code-analysis question contains an if, a loop or a switch, and Java 21 adds the features examiners love most: pattern matching for switch and record patterns, both final in Java 21.
