Oracle Java Foundations - 1z1-811 Exam Practice Test
Given the code fragment:

What is the result?

What is the result?
Correct Answer: B
Given:

What is the result?

What is the result?
Correct Answer: C
Identify two class variables.
Correct Answer: C,D
What is the meaning of "write once, run anywhere" in Java?
Correct Answer: A
Given the code fragment:

What is the result?

What is the result?
Correct Answer: B
Given the contents of Student.java:

Which statement is true?

Which statement is true?
Correct Answer: D
Given the code fragment:

Which code fragment, when inserted at line n1, enables it to print Rita is 14 years old?

Which code fragment, when inserted at line n1, enables it to print Rita is 14 years old?
Correct Answer: A
Given:

What is the result?

What is the result?
Correct Answer: C