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
b. Function
c. Supplier
d. BinaryOperator

a. Consumer

Computer Science & Information Technology

You might also like to view...

All healthcare entities must now demonstrate meaningful use to avoid financial penalties to receive grants from the HITECH Act

Indicate whether the statement is true or false

Computer Science & Information Technology

On the Ribbon, by clicking a button to choose a(n) ____, you give the program instructions about what you want to do.

A. command B. order C. menu D. program

Computer Science & Information Technology