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.
This course includes Code Challenges powered by CoderPad. Code Challenges are interactive coding exercises with real-time feedback, so you can get hands-on coding practice alongside the course content to advance your programming skills.
Learn More