Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dcdisc65

Page: 1 / 7
Total 67 questions
Exam Code: 1z0-808                Update: Oct 15, 2025
Exam Name: Java SE 8 Programmer I

Oracle Java SE 8 Programmer I 1z0-808 Exam Dumps: Updated Questions & Answers (October 2025)

Question # 1

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

Question # 2

Given the code snippet from a compiled Java source file:

Which command-line arguments should you pass to the program to obtain the following output?

Arg is 2

A.

java MyFile 1 3 2 2

B.

java MyFile 2 2 2

C.

java MyFile 1 2 2 3 4

D.

java MyFile 0 1 2 3

Question # 3

Which three statements are true about exception handling? (Choose three.)

A.

Only unchecked exceptions can be rethrown.

B.

All subclasses of the RuntimeException class are not recoverable.

C.

The parameter in a catch block is of Throwable type.

D.

All subclasses of the RuntimeException class must be caught or declared to be thrown.

E.

All subclasses of the RuntimeException class are unchecked exceptions.

F.

All subclasses of the Error class are not recoverable.

Question # 4

Given:

What is the result?

A.

100 200 : 0 0 :

B.

100 200 : 100 0 :

C.

100 200 : 100 200 :

D.

0 0 : 100 0 :

Question # 5

Given:

What is the result?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question # 6

Given the code fragment:

What is the result?

A.

An exception is thrown at runtime.

B.

2014-07-31T01:01:00

C.

2014-07-31

D.

2014-09-30T00:00:00

Question # 7

Given:

What is the result?

A.

C B A

B.

C

C.

A B C

D.

Compilation fails at line n1 and line n2

Question # 8

Given these classes:

And given this main method:

Which two options compile when placed at line n1 of the main method? (Choose two.)

A.

director.stockOptions = 1_000;

B.

employee.salary = 50_000;

C.

manager.budget = 1_000_000;

D.

manager.stockOption = 500;

E.

employee.budget = 200_000;

F.

director.salary = 80_000;

Question # 9

Given the code fragment:

What is the result?

A.

A B C Work done

B.

A B C D Work done

C.

A Work done

D.

Compilation fails

Question # 10

Given the code fragment:

Which code fragment, inserted at line n1, prints The Top element: 30?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

Page: 1 / 7
Total 67 questions

Most Popular Certification Exams

Payment

       

Contact us

dumpscollection live chat

Site Secure

mcafee secure

TESTED 16 Oct 2025