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)- A5% (2)
- B8% (3)
- C16% (6)
- D70% (26)
Community Discussion
No community discussion yet for this question.