Java 20 (March 2023) acted as the meticulous polish release right ahead of Java 21 LTS—refining Virtual Threads, Record Patterns, Pattern Switch and FFM through additional previews, debuting Scoped Values as an Incubator, deprecating new URL() constructors, and adding IEEE 754 Float16 math.
More lessons in Complete Core Java