Higher Test Marks with Free Online 1Z0-829 Exam Practice

Assess the CertsIQ’s updated 1Z0-829 exam questions for free online practice of your Java SE 17 Developer test. Our Oracle Certified Professional: Java SE 17 Developer 1Z0-829 dumps questions will enhance your chances of passing the Oracle Java certification exam with higher marks.

Exam Code: 1Z0-829
Exam Questions: 660
Java SE 17 Developer
Updated: 19 Feb, 2026
Question 1

Question ID: UK8295123
Given code of Test.java file:
package com.examtest.ocp;
 
import java.util.ArrayList;
import java.util.List;
 
public class Test {
    public static void main(String[] args) {
        List<Character> list = new ArrayList<>();
        list.add(0, 'E');
        list.add('X');
        list.add(1, 'P');
        list.add(3, 'O');
        
        if(list.contains('O')) {
            list.remove('O');
        }
        
        for(char ch : list) {
            System.out.print(ch);
        }
    }
}
What is the result?

Options :
Answer: B

Question 2

Question ID: UK8291985
Consider below code of Test.java file:
package com.examtest.ocp;
 
import java.time.LocalDate;
 
public class Test {
    public static void main(String [] args) {
        LocalDate date = LocalDate.parse("1980-03-16");
        System.out.println(date.minusYears(-5));
    }
}
What is the result?

Options :
Answer: B

Question 3

Given the content of the in. tart file:

23456789

and the code fragment:




What is the content of the out .txt file? 

Options :
Answer: D

Question 4

Question ID: UK8296388
Consider below code of Test.java file:
package com.examtest.ocp; 
 
public class Test {
    public static void main(String[] args) {
        final var str = "+";
        System.out.println(str.repeat(2) == "++");
    }
}
What is the result?

Options :
Answer: B

Question 5

Question ID: UK8298155
Following statement in a Java program compiles successfully:
student.report(course);
What can you say for sure?

Options :
Answer: C

Viewing Page : 1 - 66
Practicing : 1 - 5 of 660 Questions

© Copyrights CertsIQ 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (CertsIQ). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the CertsIQ.