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 131:

    Given the code fragment:

    What is the result?

    A. 2012-02-10
    B. 2012-02-11
    C. Compilation fails
    D. A DateTimeException is thrown at runtime.

  • Question 132:

    Given the following class:

    Which three pieces of code, when inserted independently, set the value of amount to 100?

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

  • Question 133:

    Given:

    And given the code fragment:

    Which two modifications enable the code to print the following output? (Choose two.)

    Canine 60 Long Feline 80 Short

    A. . Replace line n1 with: super (); this.bounds = bounds;
    B. Replace line n1 with: this.bounds = bounds; super ();
    C. Replace line n2 with: super (type, maxSpeed); this (bounds);
    D. Replace line n1 with: this ("canine", 60); this.bounds = bounds
    E. Replace line n2 with: super (type, maxSpeed); this.bounds = bounds;

  • Question 134:

    Which statement will empty the contents of a StringBuilder variable named sb?

    A. sb.deleteAll();
    B. sb.delete(0, sb.size());
    C. sb.delete(0, sb.length());
    D. sb.removeAll();

  • Question 135:

    Given the code fragment:

    What is the result?

    A. [JavaForum, ExpertForum]
    B. [JavaGroup, ExpertGroup]
    C. [JavaForumGroup, ExpertForumGroup]
    D. [JavaGroup, TechGroup ExpertGroup]

  • Question 136:

    View the exhibit.

    Given the code fragment:

    Which change enables the code to print the following? James age: 20 Williams age: 32

    A. Replacing line 5 with public static void main (String [] args) throws MissingInfoException, AgeOutofRangeException {
    B. Replacing line 5 with public static void main (String [] args) throws.Exception {
    C. Enclosing line 6 and line 7 within a try block and adding: catch(Exception e1) { //code goes here} catch (missingInfoException e2) { //code goes here} catch (AgeOutofRangeException e3) {//code goes here}
    D. Enclosing line 6 and line 7 within a try block and adding: catch (missingInfoException e2) { //code goes here} catch (AgeOutofRangeException e3) {//code goes here}

  • Question 137:

    Given:

    What is the result?

    A. Compilation fails.
    B. 3 5
    C. 0 0
    D. 9 25

  • Question 138:

    Given:

    public class Natural {

    private int i;

    void disp() {

    while (i <= 5) {

    for (int i=1; i <=5;) {

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

    i++;

    }

    i++;

    }

    }

    public static void main(String[] args) {

    new Natural().disp();

    }

    }

    What is the result?

    A. Prints 1 2 3 4 5 once
    B. Prints 1 3 5 once
    C. Prints 1 2 3 4 5 five times
    D. Prints 1 2 3 4 5 six times
    E. Compilation fails

  • Question 139:

    Given the following class declarations:

    1.

    public abstract class Animal

    2.

    public interface Hunter

    3.

    public class Cat extends Animal implements Hunter

    4.

    public class Tiger extends Cat

    Which answer fails to compile?

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

  • Question 140:

    Given the following code for a Planet object:

    What is the output?

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

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.