Exam Details

  • Exam Code
    :1Z0-808
  • Exam Name
    :Java SE 8 Programmer I
  • Certification
    :Oracle Database
  • Vendor
    :Oracle
  • Total Questions
    :385 Q&As
  • Last Updated
    :May 13, 2024

Oracle Oracle Database 1Z0-808 Questions & Answers

  • Question 11:

    Given the code fragment:

    Which code snippet at line 9 prints true?

    A. Option A

    B. Option B

    C. Option C

    D. Option D

  • Question 12:

    Given:

    Which two code fragments can be inserted at line n1?

    A. String str = "Java";

    B. for(int iVal = 0; iVal <=5; iVal++){}

    C. Test() {}

    D. package p1;

    E. import java.io.*;

  • Question 13:

    Examine the content of App.java:

    Which is true?

    A. The App.class file is stored within the p1 folder. The Test.class file is stored within the p2 sub-folder of p1.

    B. The App class is accessible within the Test class without an import statement.

    C. import p1.App; is used to access the App class within the Test class.

    D. It is optional to have the package statement as the first line of class definitions.

  • Question 14:

    Given:

    What is the result?

    A. 0:0 100:0

    B. null:0

    100:0

    C. 0:0

    100:200

    D. null:null 100:null

  • Question 15:

    Given: What is the result?

    A. null:null:0.0

    B. null:null

    C. <>:0.0

    D. null:0.0

  • Question 16:

    Which two array initialization statements are valid? (Choose two.)

    A. int array[] = new int[3] {1, 2, 3};

    B. int array[] = new int[3]; array[0] = 1; array[1] = 2; array[2] = 3;

    C. int array[3] = new int[] {1, 2, 3};

    D. int array[] = new int[3]; array = {1, 2, 3};

    E. int array[] = new int[] {1,2,3};

  • Question 17:

    Given the class definitions:

    class C1 {}

    class C2 extends C1 {}

    class C3 extends C2 {}

    and the code fragment:

    16.

    C1 obj1 = (C1) new C2();

    17.

    C2 obj2 = (C2) new C3();

    18.

    C2 obj3 = (C2) new C1();

    19.

    C3 obj4 = (C3) obj2;

    Which line throws ClassCastException?

    A. line 18

    B. line 17

    C. line 19

    D. line 16

  • Question 18:

    Which two features can be implemented in a Java application by encapsulating the entity classes used? (Choose two.)

    A. data validation

    B. compile time polymorphism

    C. data hiding

    D. data abstraction

    E. data memory optimization

  • Question 19:

    Given the code fragment:

    What is the result?

    A. The sum of 4 numbers is: 10

    B. A compile time error occurs.

    C. The sum of 5 numbers is: 10

    D. The sum of 5 numbers is: 15

  • Question 20:

    Given the code fragment:

    What is the result?

    A. [JavaForum, ExpertForum]

    B. [JavaGroup, ExpertGroup]

    C. [JavaForumGroup, ExpertForumGroup]

    D. [JavaGroup, TechGroup ExpertGroup]

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.