Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Exam preparation

Oracle 1Z0-829 Exam Guide for the Java

1Z0-829 is the Oracle Java SE 17 Developer exam, part of the Oracle Java certification. The official outline has 11 exam topics. 17 free practice questions with explanations are online, and each exam topic below links to the ones written for it.

1Z0-829 Exam Details

Vendor
Oracle
Exam Code
1Z0-829
Free Practice Questions
17
Full Question Set
50
Exam Topics
11
Last Updated
December 2, 2026
Exam Name
Java SE 17 Developer
Certification
Oracle Java

1Z0-829 Exam Topics and Weights

Handling Date, Time, Text, Numeric and Boolean Values

What this topic covers

Evaluate numeric and boolean expressions with primitives, wrappers, casting, and the Math API. Work with text using String and StringBuilder, and handle dates, durations, and time zones with the Date-Time API.

What does Period.between return, and why does toTotalMonths ignore leftover days?

Period.between returns a calendar-based Period between two LocalDate values, and toTotalMonths returns only its complete months. Any remaining days are ignored, so a period of one month and twenty days gives 1.

2 free 1Z0-829 practice questions on Handling date, time, text, numeric and boolean values

Controlling Program Flow

What this topic covers

Choose how code branches and repeats using if/else, loops, and switch statements or expressions. Apply break and continue to control when execution moves on or stops.

How does a break inside a loop differ from a continue?

A break leaves the loop entirely, so no later iterations run. A continue skips only the rest of the current iteration and moves to the next one. For example, a loop that adds values and hits break at the first value over 100 never adds that value or any later one.

2 free 1Z0-829 practice questions on Controlling Program Flow

Utilizing Java Object-Oriented Approach

What this topic covers

Build classes, records, interfaces, and enums, then use encapsulation, constructors, and overloading to shape objects. Apply inheritance, sealed classes, polymorphism, casting, and pattern matching to work with object types.

What does a permits clause do on a sealed class?

A permits clause restricts direct subclasses of a sealed class to the named types only. Each permitted subclass must then be declared final, sealed, or non-sealed. Leaving a subclass out of the clause causes a compile error.

1 free 1Z0-829 practice question on Utilizing Java Object-Oriented Approach

Handling Exceptions

What this topic covers

Handle failures with try/catch/finally, multi-catch, and custom exceptions. Use try-with-resources to close resources on both normal and exceptional exits.

Does try-with-resources close a resource when an exception is thrown?

Yes, it closes each resource on both normal and exceptional exits. The resource must implement AutoCloseable, and the close happens before any catch or finally block runs. For example, a BufferedReader declared in the resource clause is closed even if reading throws an IOException.

1 free 1Z0-829 practice question on Handling Exceptions

Working with Arrays and Collections

What this topic covers

Create arrays and collections such as List, Set, Map, and Deque, then add, retrieve, update, and remove elements. Sort data and use ordered collections such as TreeSet when sorted, unique values are needed.

Why does a TreeSet reject null, and how does it order Strings?

A TreeSet with natural ordering keeps Strings sorted alphabetically and stores each value only once. It rejects null before insertion because it must compare each new element with the existing ones. For example, adding "pear", "apple", and "pear" leaves apple, pear.

1 free 1Z0-829 practice question on Working with Arrays and Collections

Working with Streams and Lambda Expressions

What this topic covers

Use lambdas with object and primitive streams to filter, map, sort, and consume data. Combine and reduce stream results, including grouping with downstream collectors and finding optional values.

Why does max on a DoubleStream return an OptionalDouble?

The max method is a terminal operation that returns an OptionalDouble because the stream may be empty. After mapToDouble converts the objects to a DoubleStream, calling getAsDouble on an empty result throws an exception. Check isPresent or use orElse first.

2 free 1Z0-829 practice questions on Working with Streams and Lambda expressions

Packaging and Deploying Java Code and Use the Java Platform Module System

What this topic covers

Define modules, dependencies, exports, and services so module consumers can access the types they need. Compile Java code into JARs or runtime images, and work with automatic and unnamed modules during migration.

Why must a module export the package that holds a service interface?

The consumer must be able to see the service type before it can use it, so the module that owns the interface exports its package. A consumer module declares a uses directive, and a producer module declares a provides directive for its implementation.

2 free 1Z0-829 practice questions on Packaging and deploying Java code and use the Java Platform Module System

Managing Concurrent Code Execution

What this topic covers

Create tasks with Runnable or Callable and manage them with threads, executors, and Futures. Protect shared data with locks and concurrent APIs, and process collections with parallel streams.

What does shutdown do to tasks already submitted to an ExecutorService?

The shutdown method begins an orderly stop and does not cancel tasks already accepted. The executor refuses new submissions, but queued and running tasks still finish. To wait for them to complete, call awaitTermination.

2 free 1Z0-829 practice questions on Managing concurrent code execution

Using Java I/O API

What this topic covers

Read and write console or file data with streams, using bounded character buffers and explicit encodings when needed. Serialize objects and use the Path API to create, traverse, and access files.

Why use explicit UTF-8 readers and writers instead of default charsets?

Explicit UTF-8 readers and writers fix the encoding, so text reads and writes the same way on every machine. The default charset depends on the platform and can garble non-ASCII characters. A fixed-size character buffer also keeps memory use bounded while reading.

1 free 1Z0-829 practice question on Using Java I/O API

Accessing Databases Using JDBC

What this topic covers

Connect to databases and execute queries or updates with basic, prepared, and callable statements. Process ResultSet rows and control transactions, including grouping statements by disabling auto-commit.

What happens to statements when auto-commit is turned off?

With auto-commit disabled, the statements you run belong to one transaction. Nothing is saved until you call commit on the Connection, and rollback undoes all of them since the last commit. Use setAutoCommit(false) to turn it off.

2 free 1Z0-829 practice questions on Accessing databases using JDBC

Related Oracle Exams

Continue to Free 1Z0-829 Exam Questions