Module 09
Modern Java (17 → 21+)
Records, sealed classes, pattern matching and what changed in every LTS release.
By the end of this module you can
- Use records, sealed types and pattern matching together
- Explain what changed in each LTS from 8 to 21
Language features
The modern language features interviewers ask about.
- Records in depthFreeSoon
- Sealed classesPremiumSoon
- Pattern matching and record patternsPremiumSoon
- Switch expressionsPremiumSoon
- Text blocksPremiumSoon
- Language features: interview questions & scenariosPremiumSoon
Platform
What changed in each LTS and the module system.
- What changed from Java 8 to 21FreeSoon
- The module system (JPMS)PremiumSoon
- Platform: interview questions & scenariosPremiumSoon
Module interview question bank
Finish the module
Module interview question bankEvery interview question worth practising for Modern Java (17 → 21+), grouped by topic, with model answers, how to say them and what-if follow-ups.