LTS at a glance
| Release | Headline features |
|---|---|
| 8 | Lambdas, streams, java.time, default methods |
| 11 | HTTP Client, single-file launch, Java EE modules removed from JDK |
| 17 | Records, sealed classes, pattern matching for instanceof, switch expressions |
| 21 | Virtual threads, sequenced collections, pattern matching for switch |
| 25 | Flexible constructors, scoped values final, generational Shenandoah |
8
Headline featuresLambdas, streams, java.time, default methods11
Headline featuresHTTP Client, single-file launch, Java EE modules removed from JDK17
Headline featuresRecords, sealed classes, pattern matching for instanceof, switch expressions21
Headline featuresVirtual threads, sequenced collections, pattern matching for switch25
Headline featuresFlexible constructors, scoped values final, generational Shenandoah
Anchor every other version fact to the nearest LTS.
The rest of this guide is part of Pro
Free covers every fresher guide in full. Pro unlocks Senior, Staff and Architect guides across every track.
Test yourself
Answer these before moving on — recall is what makes it stick.