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

    Given the code snippet from a compiled Java source file:

    Which command-line arguments should you pass to the program to obtain the following output?

    Arg is 2

    A. java MyFile 1 3 2 2
    B. java MyFile 2 2 2
    C. java MyFile 1 2 2 3 4
    D. java MyFile 0 1 2 3

  • Question 152:

    Given:

    What would be the output, if it is executed as a program?

    A. name =, pass =
    B. name = null, pass = null
    C. name = null, pass = false
    D. name = null pass = true
    E. Compile error.

  • Question 153:

    Which statement is true about the switch statement?

    A. It must contain the default section.
    B. The break statement, at the end of each case block, is optional.
    C. Its case label literals can be changed at runtime.
    D. Its expression must evaluate to a collection of values.

  • Question 154:

    Given the code fragment:

    What is the result?

    A. A B C Work done
    B. A B C D Work done
    C. A Work done
    D. Compilation fails

  • Question 155:

    Given the code fragments:

    And,

    Which statement is true?

    A. After line 11, three objects are eligible for garbage collection.
    B. After line 11, two objects are eligible for garbage collection.
    C. After line 11, one object is eligible for garbage collection.
    D. After line 11, none of the objects are eligible for garbage collection.

  • Question 156:

    Given the code fragment:

    What is the result?

    A. EN FR JP
    B. EN FR
    C. CH
    D. EN FR CH

  • Question 157:

    Given:

    What is the result?

    A. The sum is 2
    B. The sum is 14
    C. The sum is 15
    D. The loop executes infinite times
    E. Compilation fails

  • Question 158:

    Given:

    What is the result?

    A. 10 20 30 40
    B. 0 0 30 40
    C. Compilation fails
    D. An exception is thrown at runtime

  • Question 159:

    Given:

    What is the result?

    A. true, false
    B. false, true
    C. true, true
    D. false, false

  • Question 160:

    Which usage represents a valid way of compiling java source file with the name "Main"?

    A. javac Main.java
    B. java Main.class
    C. java Main.java
    D. javac Main
    E. java Main

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.