
This course contains the use of artificial intelligence.
Prepare for the Oracle Certified Professional: Java SE 21 Developer (1Z0-830) exam with six full-length mock exams — 300 questions in total, each one written to the real exam's format of 50 questions.
Every question targets a specific rule of the language or the platform API rather than memorised syntax, and every answer comes with an explanation that cites the Java Language Specification section, JEP or javadoc member that decides it. Every code snippet was compiled and run on a real JDK 21 before being written up, so the explanations quote actual compiler errors and actual output — not what the behaviour is remembered to be.
What you'll practise:
Pattern matching for switch and instanceof, record patterns, sealed types and switch exhaustiveness (JEPs 440, 441, 409)
Sequenced collections (JEP 431) and virtual threads (JEP 444)
Date/time arithmetic, text blocks, string and numeric edge cases
Inheritance, interfaces, nested classes, records, enums and generics
Checked and unchecked exceptions, try-with-resources and suppressed exceptions
Arrays and the Collections Framework, including immutable and unmodifiable collections
Streams, collectors, Optional and functional interfaces
The module system, jar, jlink, jdeps and service loading
Executors, concurrent collections, locks and thread safety
NIO.2 file I/O and serialization
Localization: Locale, resource bundles and number/date/message formatting
How the tests are built:
6 mock exams × 50 questions, each covering all 10 official domains (5 questions per domain per exam)
The answer key is balanced across A–D, and the correct option is not systematically the longest or shortest, so the tests can't be gamed by pattern
No question repeats another; near-duplicates were reviewed and either recast or kept only where they test different rules
By the end of these six mock exams you'll know which domains you're ready for and which still need work — before you book the real exam.
This course is not affiliated with or endorsed by Oracle. Oracle and Java are registered trademarks of Oracle and/or its affiliates.