Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Oracle 1z0-819 Practice Exam with Questions & Answers | Set: 8

Questions 71

Which two var declarations are correct? (Choose two.)

Options:
A.

var names = new ArrayList<>();

B.

var _ = 100;

C.

var var = “hello”;

D.

var y = null;

E.

var a;

Oracle 1z0-819 Premium Access
Questions 72

Given the code fragment:

1z0-819 Question 72

What is the result?

Options:
A.

0 8 10

B.

0

C.

The code prints nothing.

D.

0 4 9

E.

0 8

Questions 73

Given:

1z0-819 Question 73

What is the output?

Options:
A.

1 2 [1, 2, 3, four] 3 four

B.

1 2 [1, 2, 3, 4] 3 4

C.

1 2 [1, 2, 3, 4] 3 four

D.

1 2 [1, 2, 3, four] 3 4

Questions 74

Which two modules include APIs in the Java SE Specification? (Choose two.)

Options:
A.

java.logging

B.

java.desktop

C.

javafx

D.

jdk.httpserver

E.

jdk.jartool

Questions 75

Given:

1z0-819 Question 75

What is the type of the local variable x?

Options:
A.

Character

B.

char

C.

String[ ]

D.

String

Questions 76

Given:

1z0-819 Question 76

Assume the file on path does not exist. What is the result?

Options:
A.

The compilation fails.

B.

/u01/work/filestore.txt is not deleted.

C.

Exception

D.

/u01/work/filestore.txt is deleted.

Questions 77

Given the code fragment:

1z0-819 Question 77

Which two statement inserted independently at line 1 enable this code to print PRRT?

Options:
A.

i—;

B.

continue b;

C.

break b;

D.

j--;

E.

continue a;

F.

break a ;

Exam Code: 1z0-819
Certification Provider: Oracle
Exam Name: Java SE 11 Developer
Last Update: Jul 15, 2025
Questions: 296