Oracle 1Z0-829 Practice Exam Questions & Answers

7 Free Questions · Last reviewed: October 27, 2026 · Prepared & Reviewed by the ValidExamDumps Editorial Team

Exam Facts

Oracle 1Z0-829 Exam Details

Key details for this exam, checked against the published exam outline

50 Practice Questions (Our Bank)
120 minutes Exam Duration
68% Passing Score
USD 245 Official Exam Fee (United States)
Exam Code
1Z0-829
Full Name
Java SE 17 Developer
Issuing Body
Oracle
Question Format (Our Bank)
Multiple Choice
Delivery
Proctored exam delivered online or at a test center
Eligibility
No prerequisites required
Validity
Certification is valid for 3 years
Practice Questions

Free 1Z0-829 Practice Questions

Each question shows the correct answer and an explanation of why it is right

VA
ValidExamDumps Editorial Team Every question and its answer is checked by our 1Z0-829 exam preparation team, who also write the explanation shown with each one. How we research and review these pages

Given the code fragments:

Which action prints Wagon : 200?

Correct Answer: F

Assume you have an automatic module from the module path display-ascii-0.2. jar. Which name is given to the automatic module based on the given JAR file?

Correct Answer: C
Explanation

An automatic module name is derived from the name of the JAR file when it does not contain amodule-info.classfile. If the JAR file has an ''Automatic-Module-Name'' attribute in its main manifest, then its value is the module name. Otherwise, the module name is derived from the JAR file's name by removing any version numbers and converting it to lower case. Therefore, for a JAR nameddisplay-ascii-0.2.jar, the automatic module name would bedisplay-ascii, following these rules.

Given the code fragment:

Which two statements at Line nl independently enable you to print 1250?

Correct Answer: A, E

Given the content of the in. tart file:

23456789

and the code fragment:

What is the content of the out .txt file?

Correct Answer: D
Explanation

The answer is D because the code fragment reads the content of the in.txt file and writes it to the out.txt file. The content of the in.txt file is ''23456789''. The code fragment uses a char array buffer of size 8 to read the content of the in.txt file. The while loop reads the content of the in.txt file and writes it to the out.txt file until the end of the file is reached. Therefore, the content of the out.txt file will be ''0123456789''.

Given:

What is the result?

Correct Answer: E

Given the code fragment:

Which action sorts the book list?

Correct Answer: D

Given the code fragment:

Which code line n1, obtains the java.io.Console object?

A)

B)

C)

D)

E)

Correct Answer: A
Explanation

The code fragment is trying to obtain the java.io.Console object, which is a class that provides methods to access the character-based console device, if any, associated with the current Java virtual machine. The correct way to obtain the Console object is to call the static method Console console() in the java.lang.System class. This method returns the unique Console object associated with the current Java virtual machine, if any. Therefore, option A is correct, as it calls System.console() and assigns it to a Console variable.Reference:

https://docs.oracle.com/javase/17/docs/api/java.base/java/io/Console.html

https://docs.oracle.com/javase/17/docs/api/java.base/java/lang/System.html#console()

https://education.oracle.com/products/trackp_OCPJSE17

https://mylearn.oracle.com/ou/learning-path/java-se-17-developer/99487

Full Access

Get the complete 1Z0-829 question set

  • 50 questions covering all exam domains
  • Correct answers with explanations, like the free questions above
  • PDF and online practice test
  • 90 days of free updates
Starting from 50% OFF
$20 $40
Get Full Access

One-time payment · Instant download

Study Guide

What the Oracle 1Z0-829 Exam Covers

Exam domains verified against: Official Oracle 1Z0-829 exam guide, last checked October 2026.

Domain 1: Handling date, time, text, numeric and boolean values

Use primitives and wrapper classes including Math API, parentheses, type promotion, and casting to evaluate arithmetic and boolean expressions. Manipulate text including text blocks using String and StringBuilder classes, and manipulate date, time, duration, period, instant and time-zone objects using Date-Time API.

Sample question from this domain above: Q3

Domain 2: Controlling Program Flow

Create program flow control constructs including if/else, switch statements and expressions, loops, and break and continue statements.

Domain 3: Utilizing Java Object-Oriented Approach

Declare and instantiate Java objects including nested class objects and explain the object life-cycle. Create classes and records with instance and static fields, methods, constructors, and initializers. Implement inheritance, polymorphism, abstract and sealed classes, and use interfaces with private static and default methods.

Sample questions from this domain above: Q1Q6

Domain 4: Handling Exceptions

Handle exceptions using try/catch/finally, try-with-resources, and multi-catch blocks including custom exceptions.

Domain 5: Working with Arrays and Collections

Create Java arrays, List, Set, Map, and Deque collections and add, remove, update, retrieve and sort their elements.

Sample question from this domain above: Q7

Domain 6: Working with Streams and Lambda expressions

Use Java object and primitive streams including lambda expressions implementing functional interfaces to supply, filter, map, consume, and sort data. Perform decomposition, concatenation, reduction, grouping and partitioning on sequential and parallel streams.

Domain 7: Packaging and deploying Java code and use the Java Platform Module System

Define modules and their dependencies exposing module content including for reflection. Define services, producers, and consumers. Compile Java code and produce modular and non-modular jars, runtime images, and implement migration using unnamed and automatic modules.

Sample questions from this domain above: Q2Q5

Domain 8: Managing concurrent code execution

Create worker threads using Runnable and Callable and manage thread lifecycle including automations provided by different Executor services and concurrent API. Develop thread-safe code using different locking mechanisms and concurrent API. Process Java collections concurrently including parallel streams.

Domain 9: Using Java I/O API

Read and write console and file data using I/O Streams. Serialize and de-serialize Java objects. Create, traverse, read, and write Path objects and their properties using java.nio.file API.

Sample question from this domain above: Q4

Domain 10: Accessing databases using JDBC

Create connections, create and execute basic, prepared and callable statements, process query results and control transactions using JDBC API.

Domain 11: Implementing Localization

Implement localization using locales, resource bundles, parse and format messages, dates, times, and numbers including currency and percentage values.

FAQ

1Z0-829 Exam FAQ

Common questions about the exam itself

What programming experience do I need before taking the 1Z0-829 exam?
You need solid experience with Java fundamentals and object-oriented programming. This exam builds on core Java knowledge and covers advanced topics like modules, streams, and concurrency, so prior hands-on experience with Java development is essential.
How long does it typically take to prepare for the 1Z0-829 Java SE 17 Developer exam?
Most candidates need between 100 and 150 hours of focused study and hands-on coding practice. The exact timeframe depends on your existing Java experience and how much of the module system, streams, and concurrent programming you already know.
Which topics are candidates struggling with most on the 1Z0-829 exam?
The Java Platform Module System and parallel streams with collectors are the areas where most candidates stumble. Many developers have less practical experience with modules and stream decomposition than with core Java syntax, so these deserve extra preparation time.
Can I take the 1Z0-829 exam online from home or do I need to go to a test centre?
Oracle exams are delivered through Pearson VUE, which offers both online proctored testing and testing at physical centres. You can choose the option that works best for you.
How long does the 1Z0-829 exam take and how many questions are on it?
The exam is delivered through Pearson VUE. For specific details about duration and question count, check the official Oracle exam page as these details are published there.
What is the passing score for the 1Z0-829 exam?
Oracle publishes the passing score on the official exam page. You need to achieve a specific percentage on the exam to earn your certification, but the exact threshold is set by Oracle.
How long is the Oracle Java SE 17 Developer certification valid once I pass the exam?
Oracle publishes the validity period on the official exam page. Check the certification details to understand how long your certification lasts before renewal is needed.
What Java SE version should I use when preparing for the 1Z0-829?
You must use Java SE 17 or later for your preparation. The exam covers Java 17 specific features including records, sealed classes, text blocks, and the module system as they exist in Java 17.
Is 1Z0-829 the same exam as the Java SE 11 Developer exam or are they different?
They are different exams with different objectives. The 1Z0-829 focuses on Java 17 features and updates, while earlier versions covered Java 11. If you already hold an older Java certification, you can pursue 1Z0-829 as an upgrade.
What job role does the Oracle Java SE 17 Developer certification prepare me for?
This certification validates your skills as a professional Java developer. It demonstrates competence with modern Java development including building applications with modules, streams, and concurrent code, preparing you for mid-level to senior developer roles.