Question 6

Given the code fragment:

What is the result?
  • Question 7

    Which two interfaces are considered to be functional interfaces? (Choose two.)
    @FunctionalInterface
  • Question 8

    Given:

    executed with this command:
    java Main one two three
    What is the result?
  • Question 9

    Given:

    What is the result?
  • Question 10

    Given:

    Which line of code results in a compilation error?