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

    Given the code fragment:

    What is the result?

    A. Jesse 25 Walter 52
    B. Compilation fails only at line n1
    C. Compilation fails only at line n2
    D. Compilation fails at both line n1 and line n2

  • Question 212:

    Given the following two classes:

    How should you write methods in the ElectricAccount class at line n1 so that the member variable bill is always equal to the value of the member variable kwh multiplied by the member variable rate?

    Any amount of electricity used by a customer (represented by an instance of the customer class) must contribute to the customer's bill (represented by the member variable bill) through the method useElectricity method. An instance of the customer class should never be able to tamper with or decrease the value of the member variable bill.

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

  • Question 213:

    Given:

    What is the result?

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

  • Question 214:

    Given:

    public class MainMethod {

    void main() {

    System.out.println("one");

    }

    static void main(String args) {

    System.out.println("two");

    }

    public static void main(String[] args) {

    System.out.println("three");

    }

    void mina(Object[] args) {

    System.out.println("four");

    }

    }

    What is printed out when the program is excuted?

    A. one
    B. two
    C. three
    D. four

  • Question 215:

    Which two statements correctly describe checked exception?

    A. These are exceptional conditions that a well-written application should anticipate and recover from.
    B. These are exceptional conditions that are external to the application, and that the application usually cannot anticipate or recover from.
    C. These are exceptional conditions that are internal to the application, and that the application usually cannot anticipate or recover from.
    D. Every class that is a subclass of RuntimeException and Error is categorized as checked exception.
    E. Every class that is a subclass of Exception, excluding RuntimeException and its subclasses, is categorized as checked exception.

  • Question 216:

    Given:

    package p1;

    public class Test {

    static double dvalue;

    static Test ref;

    public static void main(String[] args) {

    System.out.println(ref);

    System.out.println(dvalue);

    }

    }

    What is the result?

    A. p1.Test.class 0.0
    B. 0.000000
    C. Null 0.0
    D. Compilation fails
    E. A NullPointerException is thrown at runtime

  • Question 217:

    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

  • Question 218:

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

    Given the code fragment:

    What is the result?

    A. 1:2:3:4:5:
    B. 1:2:3:
    C. Compilation fails.
    D. An ArrayoutofBoundsException is thrown at runtime.

  • Question 220:

    Given:

    And given the commands:

    javac Test.Java

    Java Test Hello

    What is the result?

    A. Success
    B. Failure
    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.