nerdexam
Oracle

1Z0-809 · Question #46

Which statement is true about the single abstract method of the java.util.function.Function interface?

The correct answer is D. It accepts an argument and produces a result of any data type.. See the full explanation below for the reasoning.

Question

Which statement is true about the single abstract method of the java.util.function.Function interface?

Options

  • AIt accepts one argument and returns void.
  • BIt accepts one argument and returns boolean.
  • CIt accepts one argument and always produces a result of the same type as the argument.
  • DIt accepts an argument and produces a result of any data type.

How the community answered

(56 responses)
  • A
    5% (3)
  • B
    13% (7)
  • C
    4% (2)
  • D
    79% (44)

Community Discussion

No community discussion yet for this question.

Full 1Z0-809 Practice