Oracle Java Foundations (1z1-811) Free Practice Test
Question 1
Given:

At which line does a compilation error occur?

At which line does a compilation error occur?
Correct Answer: A
Question 2
Which statement is true about exception handling?
Correct Answer: A
Question 3
Given:

What is the result?

What is the result?
Correct Answer: C
Question 4
Which statement is true about a Java method?
Correct Answer: D
Question 5
Given the code fragment:

What is the result?

What is the result?
Correct Answer: B
Question 6
Identify three features of the Java programming language.
Correct Answer: B,D,E
Question 7
Which statement is true about exception handling?
Correct Answer: A
Question 8
Given the code fragment:

What is the result?

What is the result?
Correct Answer: B