0 votes
in JAVA by

Which of the following interfaces represents a function that accepts a double-valued argument and produces a result of the specified type in Java 8?

a) DoublePredicate

b) DoubleSupplier

c) DoubleFunction

d) DoubleConsumer

1 Answer

0 votes
by

Answer: c) DoubleFunction.

Explanation: The DoubleFunction interface represents a function that accepts a double-valued argument and produces a result of the specified type.

...