March 2025
Intermediate to advanced
2016 pages
69h 59m
English
Chapter Topics
Using type patterns with the instanceof pattern match operator and the enhanced switch construct to type check objects.
Using record patterns with the instanceof pattern match operator and the enhanced switch construct to deconstruct records.
Prerequisites
Type checking objects using the instanceof type comparison operator.
Writing multi-way branching code using the traditional switch statement and the traditional switch expression that allow constant expressions as case labels (collectively ...
Read now
Unlock full access