Sealed Classes in Java (Java 17 → 21) — structured, practical, and with real-world insights.