DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Oracle 1Z0-808 Certification Exam Answers Solutions for Exam Success, Java SE 8 Programmer I | SPOTO

Take other online exams

Question #1
Given the code fragment: What is the result?
A. 3
B. 4
C. -1
D. Compilation fails
View answer
Correct Answer: AC
Question #2
Given: What is the result?
A. An exception is thrown at runtime
B. InitializedStartedInitialized
C. InitializedStarted
D. Compilation fails
View answer
Correct Answer: D
Question #3
Given: And the code fragment: What is the result?
A. C1C2
B. C1C1
C. Compilation fails
D. C2C2
View answer
Correct Answer: B
Question #4
Given: What is the result?
A. nullRichardDonald
B. RichardDonald
C. Compilation fails
D. An ArrayIndexOutOfBoundsException is thrown at runtime
E. A NullPointerException is thrown at runtime
View answer
Correct Answer: D
Question #5
Given: What is the result?
A. Compilation fails
B. 11
C. 8
D. 9
E. 10
View answer
Correct Answer: BD
Question #6
Given the following main method: What is the result?
A. 5 4 3 2 1 0
B. 5 4 3 2 1
C. 4 2 1
D. 5
E. Nothing is printed
View answer
Correct Answer: A
Question #7
Given: What is the result?
A. Compilation fails at line n1
B. InitializedStartedInitialized
C. InitializedStarted
D. Compilation fails at line n2
View answer
Correct Answer: D
Question #8
Given the code fragment: What is the result?
A. Sum is 600
B. Compilation fails at line n1
C. Compilation fails at line n2
D. A ClassCastException is thrown at line n1
E. A ClassCastException is thrown at line n2
View answer
Correct Answer: D
Question #9
Which two are benefits of polymorphism? (Choose two.)
A. Faster code at runtime
B. More efficient code at runtime
C. More dynamic code at runtime
D. More flexible and reusable code
E. Code that is protected from extension by other classes
View answer
Correct Answer: C
Question #10
Given: What is the result?
A. 10 20 30 40
B. 0 0 30 40
C. Compilation fails
D. An exception is thrown at runtime
View answer
Correct Answer: B

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number: