Course contents

Module 09

Modern Java (17 → 21+)

Records, sealed classes, pattern matching and what changed in every LTS release.

Premium2 free lessons2 topics10 lessons & question sets0 ready

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.

  1. Records in depthLessonFreeSoon
  2. Sealed classesLessonPremiumSoon
  3. Pattern matching and record patternsLessonPremiumSoon
  4. Switch expressionsLessonPremiumSoon
  5. Text blocksLessonPremiumSoon
  6. Language features: interview questions & scenariosInterview Q&APremiumSoon

Platform

What changed in each LTS and the module system.

  1. What changed from Java 8 to 21LessonFreeSoon
  2. The module system (JPMS)LessonPremiumSoon
  3. Platform: interview questions & scenariosInterview Q&APremiumSoon

Module interview question bank

Finish the module

Module interview question bank

Every interview question worth practising for Modern Java (17 → 21+), grouped by topic, with model answers, how to say them and what-if follow-ups.

Being written: it grows as the topics in this module are finished

PremiumSoon