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...

In a mail merge, the data source contains the text of the letter or memo

Indicate whether the statement is true or false

Computer Science & Information Technology

What are the two primary functions of a BERT?

A) Pattern generator B) Error detector C) Throughput measurement D) Cable certification

Computer Science & Information Technology

A debate is raging at the IT consulting firm where you work. Some staff members believe that it is harder for experienced analysts to learn object-modeling techniques, because the analysts are accustomed to thinking about data and processes as separate entities. Others believe that solid analytical skills are easily transferable and do not see a problem in crossing over to the newer approach. What do you think, and why?

What will be an ideal response?

Computer Science & Information Technology

Table data becomes much easier to read when alternate rows have a distinguishing ____________________ color.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology