1Z0-809 Exam Details

  • Exam Code
    :1Z0-809
  • Exam Name
    :Java SE 8 Programmer II
  • Certification
    :Oracle Certifications
  • Vendor
    :Oracle
  • Total Questions
    :207 Q&As
  • Last Updated
    :May 29, 2026

Oracle 1Z0-809 Online Questions & Answers

  • Question 71:

    Given the content of Operator.java, EngineOperator.java, and Engine.java files:

    and the code fragment:

    What is the result?

    A. The Engine.java file fails to compile.
    B. The EngineOperator.java file fails to compile.
    C. The Operator.java file fails to compile.
    D. ON OFF

  • Question 72:

    Given the code fragment: Assume that the value of now is 6:30 in the morning. What is the result?

    A. An exception is thrown at run time.
    C. 60
    D. 1

  • Question 73:

    Given the code fragment:

    What is the result?

    A. 0 : 0 : pen
    B. 0 : 1 : pen
    C. 0 : pen
    D. 0 : 1 : 2 : 3 : 4 :
    E. A compilation error occurs.

  • Question 74:

    Given the code fragment:

    What is the result?

    A. David David [Susan, Allen]
    B. Susan Susan [Susan, Allen]
    C. Susan Allen [David]
    D. David Allen [Susan]
    E. Susan Allen [Susan, David]

  • Question 75:

    Given:

    public class Emp {

    String fName;

    String lName;

    public Emp (String fn, String ln) {

    fName = fn;

    lName = ln;

    }

    public String getfName() { return fName; }

    public String getlName() { return lName; }

    }

    and the code fragment:

    List emp = Arrays.asList (

    new Emp ("John", "Smith"),

    new Emp ("Peter", "Sam"),

    new Emp ("Thomas", "Wale"));

    emp.stream()

    //line n1

    .collect(Collectors.toList());

    Which code fragment, when inserted at line n1, sorts the employees list in descending order of fName and then ascending order of lName?

    A. .sorted (Comparator.comparing(Emp::getfName).reserved().thenComparing(Emp::getlName))
    B. .sorted (Comparator.comparing(Emp::getfName).thenComparing(Emp::getlName))
    C. .map(Emp::getfName).sorted(Comparator.reserveOrder())
    D. .map(Emp::getfName).sorted(Comparator.reserveOrder().map(Emp::getlName).reserved

  • Question 76:

    Given:

    What is the result?

    A. –catch-finally-dostuff-
    B. –catch-
    C. –finally-catch-
    D. –finally -dostuff-catch-

  • Question 77:

    Given:

    public final class IceCream {

    public void prepare() {}

    }

    public class Cake {

    public final void bake(int min, int temp) {}

    public void mix() {}

    }

    public class Shop {

    private Cake c = new Cake ();

    private final double discount = 0.25;

    public void makeReady () { c.bake(10, 120); }

    }

    public class Bread extends Cake {

    public void bake(int minutes, int temperature) {}

    public void addToppings() {}

    }

    Which statement is true?

    A. A compilation error occurs in IceCream.
    B. A compilation error occurs in Cake.
    C. A compilation error occurs in Shop.
    D. A compilation error occurs in Bread
    E. All classes compile successfully.

  • Question 78:

    Given the code fragments:

    interface CourseFilter extends Predicate {

    public default boolean test (String str) {

    return str.contains ("Java");

    }

    }

    and

    List strs = Arrays.asList("Java", "Java EE", "Embedded Java");

    Predicate cf1 = s - > s.length() > 3;

    Predicate cf2 = new CourseFilter() { //line n1

    public boolean test (String s) {

    return s.startsWith ("Java");

    }

    };

    long c = strs.stream()

    .filter(cf1)

    .filter(cf2 //line n2

    .count();

    System.out.println(c);

    What is the result?

    A. 2
    B. 3
    C. A compilation error occurs at line n1.
    D. A compilation error occurs at line n2.

  • Question 79:

    Given the code fragment:

    What is the result?

    A. ACBD // in random order ABCD
    B. ABCD // in random order ABCD // in random order
    C. ABCD // in random order BCAD
    D. A compile time error occurs.

  • Question 80:

    Given:

    1.

    abstract class Shape {

    2.

    Shape ( ) { System.out.println ("Shape"); }

    3.

    protected void area ( ) { System.out.println ("Shape"); }

    4.

    }

    5.

    6.

    class Square extends Shape {

    7.

    int side;

    8.

    Square int side {

    9.

    /* insert code here */

    10.

    this.side = side;

    11.

    }

    12.

    public void area ( ) { System.out.println ("Square"); }

    13.

    }

    14.

    class Rectangle extends Square {

    15.

    int len, br;

    16.

    Rectangle (int x, int y) {

    17.

    /* insert code here */

    18.

    len = x, br = y;

    19.

    }

    20.

    void area ( ) { System.out.println ("Rectangle"); }

    21.

    }

    Which two modifications enable the code to compile? (Choose two.)

    A. At line 1, remove abstract
    B. At line 9, insert super ( );
    C. At line 12, remove public
    D. At line 17, insert super (x);
    E. At line 17, insert super (); super.side = x;
    F. At line 20, use public void area ( ) {

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-809 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.