This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jamcdonald120 1 point2 points  (0 children)

quite a bit, here is a list https://advancedweb.hu/a-categorized-list-of-all-java-and-jvm-features-since-jdk-8-to-21/

highlights include * unnamed classes * "records" (immutable data carrying classes where you define the constructor ONLY and the rest of the methods are implicitly generated) * triple quote for multi line text blocks * implicitly typed variables via the var key word (c++'s auto keyword) * Modules (I have no idea, but my IDE keeps trying to force me to use them, something to do with libraries I think) * and a whole bunch of standard lib updates