Oracle Java Foundations - 1z1-811 Exam Practice Test

What does import java.io* mean?
Correct Answer: D Vote an answer
Given the code fragment:

At which line does a compilation error occur?
Correct Answer: A Vote an answer
Given the code fragment:

What is the result?
Correct Answer: A Vote an answer
Given the code fragment:

What is the result?
Correct Answer: C Vote an answer
Which package would you import to use the Random class?
Correct Answer: C Vote an answer
Identify two class variables.
Correct Answer: A,B Vote an answer
Given:

What is the result?
Correct Answer: B Vote an answer
Given the code fragment:

What is the result?
Correct Answer: A Vote an answer