0 votes
in JAVA by

Which of the following interfaces represents a supplier of objects in Java 8?

a) Supplier

b) Consumer

c) Function

d) Predicate

1 Answer

0 votes
by
Answer: a) Supplier.

Explanation: The Supplier interface represents a supplier of objects, and has a single abstract method get() that returns an object of the specified type.
...