Skip to content

1z0-816 Java SE 11 Programmer II Practice Questions

Prepare for 1z0-816 with more than an answer.

80 questions in the full set12 sample questionsUpdated Jan 23, 2026

Unlock the full exam and previous versions

  • v1Version 1 235 questions Locked
  • 1z0-816Legacy Java SE 11 Programmer II 80 questions Current
Exam fee
$245 USD
Level
Professional
Valid for
Does not expire (certification is permanent, but may become outdated)
Domains covered on the exam 17
  1. Java Fundamentals
  2. Exception Handling and Assertions
  3. Java Interfaces
  4. Generics and Collections
  5. Functional Interface and Lambda Expressions
  6. Java Stream API
  7. Built-in Functional Interfaces
  8. Lambda Operations on Stream
  9. Migration to a Modular Application
  10. Services in a Modular Application
  11. Concurrency
  12. Parallel Streams
  13. I/O (Fundamentals and NIO2)
  14. Secure Coding in Java SE Application
  15. Database Applications with JDBC
  16. Localization
  17. Annotations
  1. 1

    Which three annotation uses are valid? (Choose three.)

    Show answer details

    Correct answer: A, C, F

    A, C, F

    A, C, F

    A, C, F

  2. 2

    Given:

    And the command:

    java Main Helloworld

    What is the result ?

    Question exhibit
    Show answer details

    Correct answer: C

    C

  3. 3

    Which interface in the java.util.function package can return a primitive type?

    Show answer details
  4. 4

    Which code fragment compiles?

    • Option exhibit
    • Option exhibit
    • Option exhibit
    • Option exhibit
    Show answer details

    Correct answer: D

    D

  5. 5

    Which two statements correctly describe capabilities of interfaces and abstract classes? (Choose two.)

    Show answer details
  6. 6

    Given:

    Which statement is equivalent to line 1?

    Question exhibit
    Show answer details

    Correct answer: C

    C

Create an account to continue.