Java 19 reached general availability on 20 September 2022, download Java 19 here. Java 19 has 7 JEP items. 1. JEP 405: Record Patterns (Preview) 1.1 Normal Record Patterns Example 1.2 Record Nested Patterns Example 2. JEP 422: Linux/RISC-V Port 3. JEP 424: Foreign Function & Memory API (Preview) 4. JEP 425: Virtual Threads (Preview) […]

Read more What is new in Java 19

Java 13 reached General Availability on 17 September 2019, download Java 13 here or this openJDK archived. Java 13 features. 1. JEP 350 Dynamic CDS Archives 2. JEP 351 ZGC: Uncommit Unused Memory 3. JEP-353 Reimplement the Legacy Socket API 4. JEP-354 Switch Expressions (Preview) 5. JEP-355 Text Blocks (Preview) Java 13 developer features. Switch […]

Read more What is new in Java 13

Java 12, JEP 325: Switch Expressions enhanced the traditional switch statement to support the following new features: Multiple case labels Switch expression returning value via break (replaced with yield in Java 13 switch expressions) Switch expression returning value via label rules (arrow) P.S Switch expressions are a preview feature and are disabled by default. A […]

Read more Java 12 – Switch Expressions