![๐ฅ์๋ฐ์คํฐ๋๐ฅ instanceof / ํ์ดํ(->) ์ฐ์ฐ์ / (optional) Java 13. switch ์ฐ์ฐ์ โ @Devme ๐ฅ์๋ฐ์คํฐ๋๐ฅ instanceof / ํ์ดํ(->) ์ฐ์ฐ์ / (optional) Java 13. switch ์ฐ์ฐ์ โ @Devme](https://blog.kakaocdn.net/dn/Uw3Kc/btq5uSqANyv/yOtUh1V3NALHTTk9l8Yvz0/img.png)
๐ฅ์๋ฐ์คํฐ๋๐ฅ instanceof / ํ์ดํ(->) ์ฐ์ฐ์ / (optional) Java 13. switch ์ฐ์ฐ์ โ @Devme
Evren Tan on X: "Pattern matching for #Switch is introduced with #Java17 which provides a more flexible way of writing switch cases. Even #instanceof operator can be discarded with #PatternMatchingForSwitch for type
![How Pattern Matching of instanceof can help in Type Checking in Java? Example | by Soma | Javarevisited | Medium How Pattern Matching of instanceof can help in Type Checking in Java? Example | by Soma | Javarevisited | Medium](https://miro.medium.com/v2/resize:fit:883/1*9mn2c8l7wKRXT5EjWzosFQ.png)