
Oracle Java SE 11 Developer - 1Z0-819 Exam Questions
QUESTION NO: 1
A company has an existing Java app that includes two Java 8 jar files, sales-3.10. jar and clients-10.2.jar.
The jar file ,sales -8, 10, jar reference packages in clients -10.2 jar, but clients-10.2 jar does not reference packages in sales -8.10, jar.
They have decided to modularize clients-10.2.jar.
Which module-info. Java file would work for the new library version clients-10.3 jar?
A company has an existing Java app that includes two Java 8 jar files, sales-3.10. jar and clients-10.2.jar.
The jar file ,sales -8, 10, jar reference packages in clients -10.2 jar, but clients-10.2 jar does not reference packages in sales -8.10, jar.
They have decided to modularize clients-10.2.jar.
Which module-info. Java file would work for the new library version clients-10.3 jar?
Correct Answer: C
QUESTION NO: 2
Given:

Which two interfaces can be used in lambda expressions? (Choose two.)
Given:

Which two interfaces can be used in lambda expressions? (Choose two.)
Correct Answer: A,B
QUESTION NO: 3
Consider this method declaration:

A) "SET SESSION AUTHORIZATION " + user
B) "SET SESSION AUTHORIZATION " + stmt.enquoteIdentifier(user)
Is A or B the correct replacement for <EXPRESSION> and why?
Consider this method declaration:

A) "SET SESSION AUTHORIZATION " + user
B) "SET SESSION AUTHORIZATION " + stmt.enquoteIdentifier(user)
Is A or B the correct replacement for <EXPRESSION> and why?
Correct Answer: C
QUESTION NO: 4
Given:

What is the result?
Given:

What is the result?
Correct Answer: B
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 5
Given:

What is the result?
Given:

What is the result?
Correct Answer: A
QUESTION NO: 6
Given:

Which three actions implement Java SE security guidelines? (Choose three.)
Given:

Which three actions implement Java SE security guidelines? (Choose three.)
Correct Answer: A,C,E
QUESTION NO: 7
Given:

What is the result?
Given:

What is the result?
Correct Answer: A
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 8
Given:

What code inserted into class C would allow it to compile?
Given:

What code inserted into class C would allow it to compile?
Correct Answer: A
QUESTION NO: 9
Given the code fragment:

What change on line 1 will make this code compile?
Given the code fragment:

What change on line 1 will make this code compile?
Correct Answer: E




