Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java 17 to 21: What's New for the 1Z0-830 Exam
New
Rating: 5.0 out of 5(1 rating)
32 students

Java 17 to 21: What's New for the 1Z0-830 Exam

Every Java 18-21 feature the 1Z0-830 exam can test, with the traps, for developers who already know Java 17
Created byStephen Leonard
Last updated 10/2026
English
English

What you'll learn

  • Use every Java 18-21 feature that is final in JDK 21 and on the 1Z0-830 exam
  • Predict which pattern switches compile, using dominance, exhaustiveness and null rules
  • Deconstruct records with nested record patterns, and spot the boxing and null traps
  • Create virtual threads correctly, and explain daemon status, priority and pinning in Java 21
  • Use sequenced collections, and tell which operations throw and which return null

Course content

8 sections • 22 lectures • 1h 19m total length
  • Welcome: who this course is for1:39
  • The 1Z0-830 exam3:47
  • Set up JDK 21 and prove what's new with --release2:48

Requirements

  • Solid Java 17 knowledge: records, sealed classes, switch expressions, instanceof patterns
  • JDK 21 installed if you want to run the samples (setup is covered in lecture 3)

Description

This course contains the use of artificial intelligence.

You already know Java 17, or you've passed 1Z0-829. This course covers exactly what changed in Java 18, 19, 20 and 21 that the 1Z0-830 (Java SE 21 Developer Professional) exam can test, and nothing you already know.

It's a delta course: no second pass over the Java 17 syllabus.

What's covered:

  • Pattern matching for switch: type patterns, case null, guards with when, dominance and exhaustiveness

  • Record patterns: deconstruction, nesting, and the rules on boxing, nulls and generics

  • Virtual threads: why they exist, how to create them, and the daemon, priority, pooling and pinning traps

  • Sequenced collections: getFirst, reversed and friends, views, and which operations throw

  • The new String, StringBuilder, Character and Math methods, and executors you can close

  • UTF-8 by default, Javadoc code snippets, the simple web server, and which preview features not to study

How it's built:

  • Every code sample on every slide was compiled and run on JDK 21. Every "this does not compile" claim was checked against the real compiler error, and every "in Java 17 this…" claim was checked on JDK 17.

  • Lectures flag the exam traps as they go, three sections end with trap clinics in the style of exam questions, and the course closes with ten trap patterns and a walked-through mini mock.

  • Only features final in JDK 21 are taught. Preview and incubator features get one lecture explaining why you shouldn't study them.

Narration: the voice-over is AI-generated (text-to-speech), transcribed back and checked so that every technical term is pronounced correctly.

This course is not affiliated with or endorsed by Oracle. Java and Oracle are registered trademarks of Oracle and/or its affiliates.

Who this course is for:

  • Java 17 developers, or 1Z0-829 holders, preparing for the 1Z0-830 exam
  • Java developers who want a fast, exam-accurate tour of what changed in Java 18-21