Oracle Java SE 11 Developer - 1z1-819 Exam Practice Test
Which interface in the java.util.function package can return a primitive type?
Correct Answer: B
Vote an answer
Given:

executed with this command:
java Main one two three
What is the output of this class?

executed with this command:
java Main one two three
What is the output of this class?
Correct Answer: E
Vote an answer
Given:

Which two lines of code when inserted in line 1 correctly modifies instance variables? (Choose two.)

Which two lines of code when inserted in line 1 correctly modifies instance variables? (Choose two.)
Correct Answer: C,E
Vote an answer
Give:

And the code fragment:

Which three code fragments, at line n1 prints SPRING?

And the code fragment:

Which three code fragments, at line n1 prints SPRING?
Correct Answer: B,C,F
Vote an answer
Which is the correct order of possible statements in the structure of a Java class file?
Correct Answer: B
Vote an answer
Given:

Which option should you choose to enable the code to print Something happened?

Which option should you choose to enable the code to print Something happened?
Correct Answer: A
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Given the declaration:

In which two locations is it legal to apply the @Resource annotation?

In which two locations is it legal to apply the @Resource annotation?
Correct Answer: B,D
Vote an answer
Given:

and

Which code fragment on line 1 makes the s1 set contain the names of all employees born before January 1, 1989?


and

Which code fragment on line 1 makes the s1 set contain the names of all employees born before January 1, 1989?

Correct Answer: A
Vote an answer
Given:

What is the result?

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

