How to Use Pattern Matching for instanceof From JDK16
The new LTS version (version 17) of Java was released in September. And since the previous LTS (version 11), many cool features were added. One of the coolest ones is “Pattern Matching for instanceof“. Until Java 15, when we checked whether an object is an… Read More »How to Use Pattern Matching for instanceof From JDK16