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
    :Apr 03, 2025

Oracle Oracle Certifications 1Z0-808 Questions & Answers

  • Question 201:

    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

  • Question 202:

    Which of the following data types will allow the following code snippet to compile?

    A. long

    B. double

    C. int

    D. float

    E. byte

  • Question 203:

    Given:

    Class A { }

    Class B { }

    Interface X { }

    Interface Y { }

    Which two definitions of class C are valid?

    A. Class C extends A implements X { }

    B. Class C implements Y extends B { }

    C. Class C extends A, B { }

    D. Class C implements X, Y extends B { }

    E. Class C extends B implements X, Y { }

  • Question 204:

    Which two items can legally be contained within a java class declaration?

    A. An import statement

    B. A field declaration

    C. A package declaration

    D. A method declaration

  • Question 205:

    Consider following method

    Which statement is true?

    A. This method is invalid.

    B. This method can be used only in an interface.

    C. This method can return anything.

    D. This method can be used only in an interface or an abstract class.

    E. None of above.

  • Question 206:

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

    Given: What is the result?

    A. myStr: 9009, myNum: 9009

    B. myStr: 7007, myNum: 7007

    C. myStr: 7007, myNum: 9009

    D. Compilation fails

  • Question 208:

    int i, j=0;

    i = (3* 2 +4 +5 ) ;

    j = (3 * ((2+4) + 5));

    System.out.println("i:"+ i + "\nj":+j);

    What is the result?

    A. Option A

    B. Option B

    C. Option C

    D. Option D

  • Question 209:

    Given:

    interface Pet { }

    class Dog implements Pet { }

    public class Beagle extends Dog{ }

    Which three are valid?

    A. Pet a = new Dog();

    B. Pet b = new Pet();

    C. Dog f = new Pet();

    D. Dog d = new Beagle();

    E. Pet e = new Beagle();

    F. Beagle c = new Dog();

  • Question 210:

    Given: And the commands: Javac Test.java Java Test 12345 What is the result?

    A. Number us : 12345

    B. A NullPointerException is thrown at runtime

    C. A NumberFormatException is thrown at runtime

    D. AnArrayIndexOutOfBoundException 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.