Which statement is true about the single abstract method of the java.util.function.Function interface?
It accepts one argument and returns void.
It accepts one argument and returns boolean.
It accepts one argument and always produces a result of the same type as the argument.
It accepts an argument and produces a result of any data type.
Submit