CoffeeJug: September'23
By Oleh Melnyk
Abstract
27th September
2023
Let's talk about the latest version of Java, JDK 21! It's the next Long-Term Support (LTS) release after JDK 17. In this update, there are 15 exciting changes called JEPs that we're going to explore.
One of the standout features is the finalization of virtual threads, which is a significant step forward for concurrency in Java. Another cool completed addition is pattern matching for records and switch statements, making our code more concise and readable.
The Java collections framework also gets extended with new features, which will make working with data even more convenient. But that's not all! JDK 21 introduces some fresh and interesting concepts like string templates, unnamed variables, and simplified main methods, which will simplify our coding experience.