Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

Oracle Java SE 11 Programmer I (1Z0-815) Free Practice Test

Question 1
Given the code fragment:

Which "for" loop produces the same output?

Correct Answer: B
Question 2
Which three are valid replacements for foo so that the program will compiled and run?
public class ForTest {
public static void main(String[] args) {
int[] arrar = {1,2,3};
for ( foo ) {
}
}
}

Correct Answer: A,B,C
Question 3
Given:

What is the result?

Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 4
Which is the correct order of possible statements in the structure of a Java class file?

Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
Analyze the code:

Which two options can you insert inside println method to produce Global:namescope? (Choose two.)

Correct Answer: C,F
Question 6
Which two statements are correct about modules in Java? (Choose two.)

Correct Answer: A,D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
Given:

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

Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 8
Which two describe reasons to modularize the JDK? (Choose two.)

Correct Answer: B,E
Question 9
Given:

executed with this command:
java Main one two three
What is the result?

Correct Answer: A