The basic generic functional interface ________ in package java.util.function contains method get that takes no arguments and produces a value of type T. Often used to create a collection object in which a stream operation’s results are placed.

a. Consumer
b. Function
c. Supplier
d. BinaryOperator

c. Supplier

Computer Science & Information Technology

You might also like to view...

To protect your computer from adware, you would purchase ________ software

A) antivirus B) anti-spam C) antispyware D) firewall

Computer Science & Information Technology

System units are typically composed of metal because ________

A) metal protects the storage media from magnetic fields B) metal is lightweight C) metal is durable D) metal is inexpensive

Computer Science & Information Technology