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
    :May 24, 2026

Oracle 1Z0-808 Online Questions & Answers

  • Question 101:

    Given:

    What is the result?

    A. Initialized Started
    B. Initialized Started Initialized
    C. Compilation fails
    D. An exception is thrown at runtime

  • Question 102:

    Given:

    What is the result?

    A. Base DerivedA
    B. Base DerivedB
    C. DerivedB DerivedB
    D. DerivedB DerivedA
    E. A classcast Except ion is thrown at runtime.

  • Question 103:

    Given:

    What is the result?

    A. Red 0 Orange 0 Green 3
    B. Red 0 Orange 0 Green 6
    C. Red 0 Orange 1
    D. Green 4
    E. Compilation fails

  • Question 104:

    Given the code fragment:

    public class Test {

    static String[][] arr =new String[3][];

    private static void doPrint() {

    //insert code here

    }

    public static void main(String[] args) {

    String[] class1 = {"A","B","C"};

    String[] class2 = {"L","M","N","O"};

    String[] class3 = {"I","J"};

    arr[0] = class1;

    arr[1] = class2;

    arr[2] = class3;

    Test.doPrint();

    }

    }

    Which code fragment, when inserted at line //insert code here, enables the code to print COJ?

    A. int i = 0; for (String[] sub: arr) { int j = sub.length -1; for (String str: sub) { System.out.println(str[j]); i++; } }
    B. private static void doPrint() { for (int i = 0;i < arr.length;i++) { int j = arr[i].length-1; System.out.print(arr[i][j]); } }
    C. int i = 0; for (String[] sub: arr[][]) { int j = sub.length; System.out.print(arr[i][j]); i++; }
    D. for (int i = 0;i < arr.length-1;i++) { int j = arr[i].length-1; System.out.print(arr[i][j]); i++; }

  • Question 105:

    Given the code fragment:

    for (int ii = 0; ii < 3;ii++) {

    int count = 0;

    for (int jj = 3; jj > 0; jj--) {

    if (ii == jj) {

    ++count;

    break;

    }

    }

    System.out.print(count);

    continue;

    }

    What is the result?

    A. 011
    B. 012
    C. 123
    D. 000

  • Question 106:

    You are asked to develop a program for a shopping application, and you are given the following information:

    The application must contain the classes Toy, EduToy, and consToy. The Toy class is the superclass of the other two classes. The int caicuiatePrice (Toy t) method calculates the price of a toy. The void printToy (Toy t) method prints the

    details of a toy.

    Which definition of the Toy class adds a valid layer of abstraction to the class hierarchy?

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

  • Question 107:

    Given the code fragment?

    public class Test {

    public static void main(String[] args) {

    Test t = new Test(); int[] arr = new int[10];

    arr = t.subArray(arr,0,2);

    }

    // insert code here

    }

    Which method can be inserted at line // insert code here to enable the code to compile?

    A. public int[] subArray(int[] src, int start, int end) { return src; }
    B. public int subArray(int src, int start, int end) { return src; }
    C. public int[] subArray(int src, int start, int end) { return src; }
    D. public int subArray(int[] src, int start, int end) { return src; }

  • Question 108:

    Given the code fragment:

    What is the result?

    A. 1324
    B. 2313
    C. 3142
    D. 4231

  • Question 109:

    Given the code fragment:

    What is the result?

    A. 100
    B. 101
    C. 102
    D. 103
    E. Compilation fails

  • Question 110:

    Given the fragment:

    What is the result?

    A. 13480.0
    B. 13480.02
    C. Compilation fails
    D. An exception is thrown at runtime

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.