Leads4pass > Oracle > Oracle Certifications > 1Z0-808 > 1Z0-808 Online Practice Questions and Answers

1Z0-808 Online Practice Questions and Answers

Questions 4

Given:

What is the result?

A. Option A

B. Option B

C. Option C

D. Option D

Buy Now
Questions 5

Given the code fragment:

What is the result?

A. 2 4

B. 0 2 4 6

C. 0 2 4

D. Compilation fails

Buy Now
Questions 6

View the exhibit:

public class Student {

public String name = "";

public int age = 0;

public String major = "Undeclared";

public boolean fulltime = true;

public void display() {

System.out.println("Name: " + name + " Major: " + major); }

public boolean isFullTime() {

return fulltime;

}

}

Which line of code initializes a student instance?

A. Student student1;

B. Student student1 = Student.new();

C. Student student1 = new Student();

D. Student student1 = Student();

Buy Now
Questions 7

Given:

public class TestLoop1 {

public static void main(String[] args) {

int a = 0, z=10;

while (a < z) {

a++;

--z;

}

System.out.print(a + " : " + z);

}

}

What is the result?

A. 5 : 5

B. 6 : 4

C. 6 : 5

D. 5 : 4

Buy Now
Questions 8

Given the code from the Greeting.Java file:

Which set of commands prints Hello Duke in the console?

A. Option A

B. Option B

C. Option C

D. Option D

Buy Now
Questions 9

Given the following code:

What is the output?

A. 4 4

B. 3 5

C. 4 7

D. 5 4

E. 4 5

F. 4 21

Buy Now
Questions 10

Given:

And given the code fragment:

What is the result?

A. C2C2

B. C1C2

C. C1C1

D. Compilation fails

Buy Now
Questions 11

Which two statements are true? (Choose two.)

A. Error class is unextendable.

B. Error class is extendable.

C. Error is a RuntimeException.

D. Error is an Exception.

E. Error is a Throwable.

Buy Now
Questions 12

Given the code fragment:

What is the result?

A. Invalid Name

B. Invalid Name omas

C. Invalid Name omas null null

D. omas ter

seph

Buy Now
Questions 13

Given the code fragment:

What is the result?

A. [JavaForum, ExpertForum]

B. [JavaGroup, ExpertGroup]

C. [JavaForumGroup, ExpertForumGroup]

D. [JavaGroup, TechGroup ExpertGroup]

Buy Now
Exam Code: 1Z0-808
Exam Name: Java SE 8 Programmer I
Last Update: Jun 13, 2026
Questions: 385
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99