Solved

The Basic Generic Functional Interface ________ in Package Java

Question 38

Multiple Choice

The basic generic functional interface ________ in package java.util.function contains method accept that takes a T argument and returns void. Performs a task with its T argument, such as outputting the object, invoking a method of the object, etc.


A) Consumer<T>
B) Function<T,R>
C) Supplier<T>
D) BinaryOperator<T>

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions