July 22, 2022
Pattern Matching for instanceof and Switch in Java
Since Java 10, there has been a release cycle with two new releases each year, one in March and another in September. Each new release brings some new features. In 2021 there were two related features, pattern matching for instanceof, and for switch statements. Pattern matching was a preview feature…