Pattern Matching for Switch in Java 21
Duration: 1h 0m 54s | .MP4 1280x720, 30 fps(r) | AAC, 48000 Hz, 2ch | 82.60 MB
Genre: eLearning | Language: English
Duration: 1h 0m 54s | .MP4 1280x720, 30 fps(r) | AAC, 48000 Hz, 2ch | 82.60 MB
Genre: eLearning | Language: English
The course is designed for intermediate Java developers looking to upskill and grow their career. Join instructor Buddhini Samarakkody as she covers the essentials of the pattern matching feature for switch statements and expressions which was introduced in Java 21. Learn how patterns can be used in case labels of a switch statement or expression, using guarded patterns to further test if a value matches a pattern, the use of Java Records in switch, along with pattern matching. Along the way, Buddhini outlines the use of the null case label to avoid NullPointerExceptions in switch statements or expressions. By the end of this course, you’ll be equipped with the skills you need to write more readable, more concise, more powerful code.
$OriginalID
More Info