Runnable examples · Key points · Java 8 → 21
Java Feature Explorer
Every major Java feature from 8 to 21 — with runnable code you can tweak live in the playground. Stop memorising, start understanding.
Java 8
Lambdas, Streams, Optional, Date/Time API
Java 11
var, String methods, HTTP Client
Java 17 LTS
Records, Sealed Classes, Pattern Matching
Java 21 LTS
Virtual Threads, Switch Patterns, Sequenced Collections
Java 84 features
The landmark release — lambdas, streams, Optional, and the new Date/Time API transformed how Java is written. Most interview questions about "modern Java" mean Java 8.
8
Stream API
Declarative data processing pipelines
8
Optional<T>
Eliminate NullPointerExceptions by design
8
Date/Time API
Immutable, thread-safe date handling
Want to go deeper?
Open any code example in the playground and modify it live. Ask Aria to explain anything you don't understand.