Oracle 1Z1-816 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 1Z1-816
  • Exam Name/Title: Java SE 11 Programmer II
  • Certification Provider: Oracle
  • Corresponding Certification: Java Platform Standard Edition 11
  • Exam Questions: 80
  • Updated On: Jul 07, 2026
Given:

Which two are correct? (Choose two.)
Correct Answer: D,E Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Given this enum declaration:

Examine this code:
System.out.println(Alphabet.getFirstLetter());
What code should be written at line 3 to make this code print A?
Correct Answer: A Vote an answer
Assume ds is a DataSource and the EMP table is defined appropriately.

What does executing this code fragment do?
Correct Answer: C Vote an answer
Given:

You want to use the myResource class in a try-with-resources statement. Which change will accomplish this?
Correct Answer: D Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Given:

Which statement on line 1 enables this code to compile?
Correct Answer: B Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A company has an existing sales application using a Java 8 jar file containing packages:
com.company.customer;
com.company.customer.orders;
com.company.customer.info;
com.company.sales;
com.company.sales.leads;
com.company.sales.closed;
com.company.orders;
com.company.orders.pending;
com.company.orders.shipped.
To modularize this jar file into three modules, customer, sales, and orders, which module-info.java would be correct?
A)

B)

C)

D)
Correct Answer: C Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Given:

What is the output?
Correct Answer: E Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Which two statements set the default locale used for formatting numbers, currency, and percentages? (Choose two.)
Correct Answer: C,D Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
0
0
0
10