Java 21 and 22. What's new and noteworthy??
Let’s talk about Java 21 and have a snaek-peek into Java 22, and things like: Java was supposed “to be slow”. However, Java turns out to evolve so fast, that next releases aren’t just version bumps, but might significantly change the rules of the game. That’s a good reason to check out what’s new in Java. To name a few changes:
Virtual Threads (and some traps), Pattern Matching and Record Patterns, Structured Concurrency, String Templates, Stream Gatherers,, changes around main() method, what’s gone and what will be gone, and other things.