Multiple Choice
The basic generic functional interface ________ in package java.util.function contains method test that takes a T argument and returns a boolean. Tests whether the T argument satisfies a condition.
A) Consumer<T>
B) Function<T,R>
C) Supplier<T>
D) Predicate<T>
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q16: Map method entrySet returns a Set of
Q17: Which of the following statements is false?<br>A)
Q18: The intermediate Stream operation _ results in
Q19: Which of the following statements is false?<br>A)
Q20: _ is a method reference for an
Q22: Stream reduction operation _ uses the elements
Q23: A lambda expression represents a(n) _ method-a
Q24: Which of the following statements is false?<br>A)
Q25: _ is s method reference for a
Q26: _ is a method reference for an