Java · Medium · ProWhat are Record Patterns (Java 21)? How do they enable deconstruction in pattern matching?JavaJava 17+