0% found this document useful (0 votes)
59 views5 pages

1Z0 808 Demo

This document contains 5 sample questions from the Oracle Java SE 8 Programmer I (1Z0-808) certification exam, along with explanations for the answers. The questions cover topics like data types, switch statements, date formatting, exceptions, and object encapsulation. It encourages the reader to purchase full practice exam software to help prepare for the actual 1Z0-808 exam, and provides a discount code for 20% off their purchase.

Uploaded by

Ivan Turkovic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views5 pages

1Z0 808 Demo

This document contains 5 sample questions from the Oracle Java SE 8 Programmer I (1Z0-808) certification exam, along with explanations for the answers. The questions cover topics like data types, switch statements, date formatting, exceptions, and object encapsulation. It encourages the reader to purchase full practice exam software to help prepare for the actual 1Z0-808 exam, and provides a discount code for 20% off their purchase.

Uploaded by

Ivan Turkovic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Questions & Answers PDF Page 1

Oracle
1Z0-808 Exam
Oracle Java SE 8 Programmer I

https://www.pass4success.com/1Z0-808.html
Questions & Answers PDF Page 2

Version: 19.0

Question: 1

Given:

What is the result?

A. 200.0 : 100.0
B. 400.0 : 200.0
C. 400.0 : 100.0
D. Compilation fails.

Answer: C
Explanation:

Question: 2

https://www.pass4success.com/1Z0-808.html
Questions & Answers PDF Page 3

Which statement is true about the switch statement?

A. It must contain the default section.


B. The break statement, at the end of each case block, is optional.
C. Its case label literals can be changed at runtime.
D. Its expression must evaluate to a collection of values.

Answer: B
Explanation:

Question: 3

Given the code fragment:

What is the result?

A. May 04, 2014T00:00:00.000


B. 2014-05-04T00:00: 00.000
C. 5/4/14T00:00:00.000
D. An exception is thrown at runtime.

Answer: D
Explanation:

Question: 4

Given the code fragment:

https://www.pass4success.com/1Z0-808.html
Questions & Answers PDF Page 4

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.

Answer: C
Explanation:

Question: 5

What is the name of the Java concept that uses access modifiers to protect variables and hide them
within a class?

A. Encapsulation
B. Inheritance
C. Abstraction
D. Instantiation
E. Polymorphism

Answer: A
Explanation:

Using the private modifier is the main way that an object encapsulates itself and hide data from the
outside world.
References:

https://www.pass4success.com/1Z0-808.html
Questions & Answers PDF Page 5

Thank You for trying 1Z0-808 PDF Demo

To try our 1Z0-808 practice exam software visit link below

https://www.pass4success.com/1Z0-808.html

Start Your 1Z0-808 Exam Preparation

[Limited Time Offer] Use Coupon “20OFF” for special 20% discount on
your purchase. Test your 1Z0-808 preparation with actual exam
questions.

https://www.pass4success.com/1Z0-808.html

You might also like