Oracle Java SE 21 developer certification study guide
Aligned to Oracle Java SE 21 Developer Professional 1Z0-830 exam details and Java SE 21 objectives reviewed June 2026
601 practice questions
92 flashcards
Completely free

Oracle Java Exam Prep

Practice Java SE 21 primitives, text, dates, control flow, OOP, exceptions, collections, streams, modules, concurrency, I/O, localization, annotations, and logging through original code scenarios.

601 original questions
Official-outline mapped
50-question mocks

Most popular

Start with free practice questions

Jump into a mixed set drawn from 601 free practice questions.

Free Practice Questions

Exam structure

Know the split before you start drilling

Date, Time, Text, Numeric, and Boolean Values

5 items

5 scored + 0 pretest

Controlling Program Flow

5 items

5 scored + 0 pretest

Object-Oriented Concepts in Java

6 items

6 scored + 0 pretest

Handling Exceptions

4 items

4 scored + 0 pretest

Arrays and Collections

5 items

5 scored + 0 pretest

Streams and Lambda Expressions

6 items

6 scored + 0 pretest

Packaging, Deployment, and Modules

4 items

4 scored + 0 pretest

Concurrent Code Execution

5 items

5 scored + 0 pretest

Java I/O API

4 items

4 scored + 0 pretest

Localization

3 items

3 scored + 0 pretest

Additional Java Features

3 items

3 scored + 0 pretest

Exam code

1Z0-830

Oracle lists Java SE 21 Developer Professional as exam number 1Z0-830.

Official format

Multiple choice

Oracle lists the format as multiple choice.

Official duration

120 minutes

Oracle lists a 120-minute exam duration for Java SE 21 Developer Professional.

Official questions

50

Oracle lists 50 questions for the 1Z0-830 exam.

Passing score

68%

Oracle lists the passing score as 68%.

Practice bank

601 questions

Original practice expands the public Java SE 21 objectives into scenario and code-reading drills.

Start with the compiler checklist

How to study for Oracle Java

Use this sequence to build Java SE 21 rule fluency before moving into dense timed code-reading sets.

1

1. Drill values, flow, and OOP first

These objectives appear inside nearly every Java code-reading item, so build fast checks for type, scope, dispatch, and expression behavior.

2

2. Layer collections, streams, modules, and concurrency

Move into API-heavy topics once the language basics are reliable, and read every option for mutability, ordering, side effects, and thread-safety assumptions.

3

3. Finish with timed 50-question mocks

Use full mocks to practice reading dense code quickly and to catch objectives that need one more focused topic drill.

About the exam

Oracle Java Exam structure

Oracle Java SE 21 Developer prep with 601 original code-reasoning questions, objective-mapped drills, Java API flashcards, and 50-question certification-style mocks.

Issuer and path

Oracle Java Exam Prep is administered through Oracle. Check official resources before booking, retesting, or relying on a stale requirement.

Date, Time, Text, Numeric, and Boolean Values

5 items

5 scored + 0 pretest

Primitive types, wrappers, casting, numeric promotion, Math API, boolean expressions, strings, StringBuilder, text blocks, and Date-Time API behavior.

Controlling Program Flow

5 items

5 scored + 0 pretest

Statements, loops, switch, pattern variables, scope, branching, fall-through rules, reachability, and annotation usage in flow-aware code.

Object-Oriented Concepts in Java

6 items

6 scored + 0 pretest

Classes, objects, constructors, fields, methods, encapsulation, inheritance, polymorphism, overriding, records, sealed classes, interfaces, and enums.

Handling Exceptions

4 items

4 scored + 0 pretest

Checked and unchecked exceptions, try/catch/finally, multi-catch, try-with-resources, suppressed exceptions, custom exceptions, and flow control.

Arrays and Collections

5 items

5 scored + 0 pretest

Arrays, generics, List, Set, Map, Deque, comparators, iteration, mutability, ordering, equality, and collection factory behavior.

Streams and Lambda Expressions

6 items

6 scored + 0 pretest

Functional interfaces, lambda syntax, method references, stream pipelines, optional, collectors, reduction, grouping, sorting, and lazy evaluation.

Packaging, Deployment, and Modules

4 items

4 scored + 0 pretest

Compilation, class path, module path, packages, JARs, module descriptors, exports, requires, services, and access across module boundaries.

Concurrent Code Execution

5 items

5 scored + 0 pretest

Threads, virtual threads, executors, tasks, locks, synchronization, concurrent collections, atomic operations, parallel streams, and thread safety.

Java I/O API

4 items

4 scored + 0 pretest

Files, paths, streams, readers, writers, serialization concepts, directory traversal, file attributes, buffering, and exception behavior.

Localization

3 items

3 scored + 0 pretest

Locales, resource bundles, formatting, parsing, number and date formats, message patterns, fallback rules, and region-sensitive behavior.

Additional Java Features

3 items

3 scored + 0 pretest

Annotations, logging, nested types, recent Java language features, pattern matching interactions, API awareness, and maintainable code conventions.

Before you schedule

Confirm the exam number, delivery provider, account name match, ID requirements, retake policy, and whether you are preparing for the current Java SE 21 version instead of an older OCP Java exam.

Official Outline Coverage Map

Coverage is mapped to official outline item counts so content depth can be checked without hard-coding a single exam.

Official outline
TopicOfficial outline itemsYour questionsYour flashcardsConfidence
Values, Text, and Date-Time API5609
Priority
Control Flow and Scope5608
Priority
Object-Oriented Java6739
Priority
Exception Handling4488
Good
Arrays, Generics, and Collections5608
Priority
Streams and Lambdas6729
Priority
Packaging and Java Platform Module System4488
Good
Threads, Executors, and Thread Safety5609
Good
Java I/O, Files, and Serialization Concepts4488
Good
Localization and Formatting3368
Good
Annotations, Logging, and Recent Features3368
Good

How to use this guide

How to study for Oracle Java

Use the objectives as a compiler checklist: read the code for type, scope, access, flow, API contract, side effect, exception path, and runtime behavior before choosing an answer.

1. Compile

Check syntax, imports, access, type compatibility, generics, overrides, checked exceptions, and module visibility before predicting output.

2. Execute

Trace control flow, object state, mutation, lazy evaluation, exception paths, resource closing, and concurrency assumptions.

3. Confirm API contract

Use the exact Java SE 21 API behavior for strings, dates, collections, streams, files, localization, annotations, and logging.

Values, Text, and Date-Time API
Values

Values, Text, and Date-Time API

Value questions test primitive promotion, wrappers, casting, boolean precedence, String immutability, StringBuilder mutation, text blocks, and java.time edge cases.

Key rules

Rule 1

Values, Text, and Date-Time API questions reward the answer that follows the official source, the professional role, and the stated facts.

Exam cue: Identify the candidate role, client or public risk, source rule, calculation, or process step being tested.

Rule 2

The strongest answer identifies the rule, safety concern, ethical duty, calculation, client factor, or process step before acting.

Exam cue: Check whether the fact pattern is using a national standard, jurisdiction rule, handbook policy, or scenario-specific instruction.

Rule 3

Eliminate answers that ignore requirements, skip documentation, overreach the role, or treat convenience as the standard.

Exam cue: Choose the compliant and professionally scoped answer before the convenient or familiar answer.

Common traps

Treating related standards as interchangeable without checking the source.

Prevention: Avoid answers that rely only on habit, ignore the stated source, skip safety or compliance steps, or choose convenience over the professional standard.

Skipping screening, documentation, authorization, sanitation, recordkeeping, or other required procedure.

Prevention: Avoid answers that rely only on habit, ignore the stated source, skip safety or compliance steps, or choose convenience over the professional standard.

Choosing an answer that protects convenience instead of client safety, public protection, or the stated professional duty.

Prevention: Avoid answers that rely only on habit, ignore the stated source, skip safety or compliance steps, or choose convenience over the professional standard.

Memory anchors

Numeric Promotion

Binary numeric promotion converts operands before arithmetic and can change result type.

Wrapper Identity

Wrapper equality should be reasoned by value with equals unless identity behavior is explicitly tested.

String Immutability

String operations create new strings unless the returned value is assigned or used.

StringBuilder Mutation

StringBuilder methods usually mutate the same builder and may return that builder.

Text Block

A text block preserves intended multiline text while still following Java string escape rules.

Period

A Period stores date-based amounts such as years, months, and days.

Duration

A Duration stores time-based amounts such as seconds and nanos.

ZonedDateTime

ZonedDateTime calculations must account for zone rules such as daylight saving transitions.

Boolean Precedence

Boolean expressions follow operator precedence, short-circuiting, and parentheses before final truth value.

Next best moves

Quick check-up

Use a short quiz to confirm the rule pattern is actually sticking.

Check-up Questions

1-2 question checkpoint

In Java SE, which primitive type is a 64-bit signed integer?

What does the following code print? int x = 7; int y = 2; System.out.println(x / y);

Answer all questions to submit.

Next step personalized recommendations

Open another topic next

Official resources

Verify the details with the official sources

Use these links for eligibility, scheduling, handbook rules, and issuer updates. Our guide helps you study; official sources tell you what the testing partner currently requires.

FAQ

Common Oracle Java questions

Is this the official Oracle Java exam?

No. These are original practice questions aligned to public Oracle Java SE 21 Developer Professional exam details and Java SE 21 language/API objectives. They are not copied from secure exam material.

Which Java certification does this target?

This targets Oracle Certified Professional: Java SE 21 Developer, exam 1Z0-830.

How many questions are on 1Z0-830?

Oracle lists 50 multiple-choice questions, a 120-minute duration, and a 68% passing score for the Java SE 21 Developer Professional exam.

Does the bank include code-output and compilation questions?

Yes. The prompts emphasize code reading, compilation constraints, runtime behavior, API contracts, side effects, and scenario decisions.

How should I use the 601 questions?

Use topic drills for weak objective families, math drill for numeric and time calculations, mixed practice for integration, and 50-question mocks for pacing.

What is Pass Harbor?

Completely free exam prep for 317 U.S. exams.

  • Practice questions
  • Flashcards
  • Study guides
  • Mock exams
  • No registration
  • No paywall
  • Start instantly
No more expensive exam prep. Quality study tools should be accessible to everyone.