1Z0-808 Exam Details

  • Exam Code
    :1Z0-808
  • Exam Name
    :Java SE 8 Programmer I
  • Certification
    :Oracle Certifications
  • Vendor
    :Oracle
  • Total Questions
    :385 Q&As
  • Last Updated
    :Jun 01, 2026

Oracle 1Z0-808 Online Questions & Answers

  • Question 181:

    Given:

    Which code fragment can replace the if block?

    A. B. C. D.

  • Question 182:

    Given:

    public class TestOperator {

    public static void main(String[] args) {

    int result = 30 -12 / (2*5)+1;

    System.out.print("Result = " + result);

    }

    }

    What is the result?

    A. Result = 2
    B. Result = 3
    C. Result = 28
    D. Result = 29
    E. Result = 30

  • Question 183:

    Given:

    Which two classes use the shape class correctly?

    A. Option A
    B. Option B
    C. Option C
    D. Option D
    E. Option E
    F. Option F

  • Question 184:

    Given the code fragment:

    Test.java:

    Which is the result?

    A. Option A
    B. Option B
    C. Option C
    D. Option D
    E. Option E

  • Question 185:

    Given the code fragment:

    What is the result?

    A. It results in a compile time error at line 18.
    B. It results in a compile time error at line 9.
    C. It prints : 1
    D. It results in a compile time error at lines at lines 12 and 15.

  • Question 186:

    Given:

    public class Painting {

    private String type;

    public String getType() {

    return type;

    }

    public void setType(String type) {

    this.type = type;

    }

    public static void main(String[] args) {

    Painting obj1 = new Painting();

    Painting obj2 = new Painting();

    obj1.setType(null);

    obj2.setType("Fresco");

    System.out.print(obj1.getType() + " : " + obj2.getType());

    }

    }

    What is the result?

    A. : Fresco
    B. null : Fresco
    C. Fresco : Fresco
    D. A NullPointerException is thrown at runtime

  • Question 187:

    Given the code fragment:

    public static void main(String[] args) {

    int iArray[] = {65, 68, 69};

    iArray[2] = iArray[0];

    iArray[0] = iArray[1];

    iArray[1] = iArray[2];

    for (int element : iArray) {

    System.out.print(element + " ");

    }

    A. 68, 65, 69
    B. 68, 65, 65
    C. 65, 68, 65
    D. 65, 68, 69
    E. Compilation fails

  • Question 188:

    Given the code fragment:

    Which code fragment at line 10 prints Welcome 100?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 189:

    Given:

    And given the commands:

    What is the result?

    A. TRUE null
    B. true false
    C. false false
    D. true true
    E. A ClassCastException is thrown at runtime.

  • Question 190:

    Given the code fragments: What is the result?

    A. Super Sub Sub
    B. Contract Contract Super
    C. Compilation fails at line n1
    D. Compilation fails at line n2

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-808 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.