Oracle Java SE 11 Developer - 1Z0-819 Exam Practice Test
Which two statements are true about the modular JDK? (Choose two.)
Correct Answer: B,C
Given:

What is the result?

What is the result?
Correct Answer: E
Given the code fragment:

What is the result?

What is the result?
Correct Answer: B
Given:
String originalPath = "data\\projects\\a-project\\..\\..\\another-project"; Path path = Paths.get(originalPath); System.out.print(path.normalize()); What is the result?
String originalPath = "data\\projects\\a-project\\..\\..\\another-project"; Path path = Paths.get(originalPath); System.out.print(path.normalize()); What is the result?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
There is a copyServiceAPI that has the org.copyservice. spi. Copy interface To use this service in a module, which module- info.java would be correct?
Correct Answer: C
Given:

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

Which two interfaces can be used in lambda expressions? (Choose two.)
Correct Answer: B,D
Which code fragment does a service use to load the service provider with a Print interface?
Correct Answer: B
Given:

If file "App.config" is not found, what is the result?

If file "App.config" is not found, what is the result?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which is the correct order of possible statements in the structure of a Java class file?
Correct Answer: D
Given:

Which annotation should be used to remove warnings from compilation?

Which annotation should be used to remove warnings from compilation?
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Given the code fragment:

What is the result?

What is the result?
Correct Answer: E