11
Java21 brings full pattern matching #roadto21
(inside.java)
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.
the hard way is from 8 to 11. After that, it's relatively simple