Oracle Java SE 11 Developer - 1Z0-819 Exam Practice Test
How many Thing objects are eligible for garbage collection in line 1?
Correct Answer: E
Vote an answer
Given:

Which two codes, independently, can be inserted in line to 1 compile?

Which two codes, independently, can be inserted in line to 1 compile?
Correct Answer: A,D
Vote an answer
Given:
LocalDate d1 = LocalDate.of(1997,2,7);
DateTimeFormatter dtf =
DateTimeFormatter.ofPattern( /*insert code here*/ );
System.out.println(dtf.format (d1));
Which pattern formats the date as Friday 7th of February 1997?
LocalDate d1 = LocalDate.of(1997,2,7);
DateTimeFormatter dtf =
DateTimeFormatter.ofPattern( /*insert code here*/ );
System.out.println(dtf.format (d1));
Which pattern formats the date as Friday 7th of February 1997?
Correct Answer: C
Vote an answer
Given:

When run and all three files exist, what is the state of each reader on Line 1?

When run and all three files exist, what is the state of each reader on Line 1?
Correct Answer: C
Vote an answer
You replace the code on line 1 to use ParallelStream.

Which one is correct?

Which one is correct?
Correct Answer: A
Vote an answer
Given:

What is the output?

What is the output?
Correct Answer: D
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
