Java SE 17 Developer
Oracle logo

Java SE 17 Developer

1Z0-829

Validate your expertise in modern Java development with the Oracle Java SE 17 Developer certification, covering advanced OOP, functional programming, and core API enhancements.

Exam syllabus, organized by domain

Try a real question

Sample Java SE 17 Developer exam question

Answer this question the same way you would on exam day. No sign-up needed — one random question, three tries to swap it out.

MasterJava Database Connectivity (JDBC)

A developer uses the code block to read identifiers from a job table. The SQL is valid and the Connection is alive, but a SQLException is thrown at the cursor loop. Which two facts explain this failure?

java
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.SQLException;

public class JobPrinter {
    public void printJobIds(Connection connection) throws SQLException {
        Statement statement = connection.createStatement();
        ResultSet resultSet = statement.executeQuery("SELECT job_id FROM job_queue");
        statement.close();
        while (resultSet.next()) {
            System.out.println(resultSet.getLong(1));
        }
    }
}

Frequently asked questions

Key facts about the Java SE 17 Developer certification and how to prepare for it.

Skills & Requirements

What you need to know before attempting the Java SE 17 Developer exam.