Skip to main content
PreparationZone Logo
PrepZone

Which Version Introduced X?

Twenty rapid-fire version facts from Java 8 through 25, plus removals and migration commands.

Pass checkpoint below

Read these first

LTS at a glance

ReleaseHeadline features
8Lambdas, streams, java.time, default methods
11HTTP Client, single-file launch, Java EE modules removed from JDK
17Records, sealed classes, pattern matching for instanceof, switch expressions
21Virtual threads, sequenced collections, pattern matching for switch
25Flexible constructors, scoped values final, generational Shenandoah
  • 8

    Headline featuresLambdas, streams, java.time, default methods
  • 11

    Headline featuresHTTP Client, single-file launch, Java EE modules removed from JDK
  • 17

    Headline featuresRecords, sealed classes, pattern matching for instanceof, switch expressions
  • 21

    Headline featuresVirtual threads, sequenced collections, pattern matching for switch
  • 25

    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.