Oracle Java SE 11 Programmer I - 1z1-815 Exam Practice Test

Given:

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

What must be added in line 1 to compile this class?
Correct Answer: A Vote an answer
Given:

Which two statements are true if the method is added to Bar? (Choose two.)
Correct Answer: C,D Vote an answer
Given:

If file "App.config" is not found, what is the result?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Given:

Assuming that this code compiles correctly, which three statements are true? (Choose three.)
Correct Answer: B,D,F Vote an answer
Which two are Java Exception classes?
Correct Answer: C,D Vote an answer
What is the name of the Java concept that uses access modifiers to protect variables and hide them within a class?
Correct Answer: E Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Given:

Which two lines inserted in line 1 will allow this code to compile? (Choose two.)
Correct Answer: A,E Vote an answer
Given:

What is the result?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Given:

What is the result?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).