nerdexam
Oracle

1Z0-819 · Question #66

What type of value in the java.util.function package will return a void return type?

The correct answer is D. Consumer. See the full explanation below for the reasoning.

Question

What type of value in the java.util.function package will return a void return type?

Options

  • ASupplier
  • BPredicate
  • CFunction
  • DConsumer

How the community answered

(37 responses)
  • A
    5% (2)
  • B
    8% (3)
  • C
    16% (6)
  • D
    70% (26)

Community Discussion

No community discussion yet for this question.

Full 1Z0-819 Practice