Which functional interface is most suitable for `System.out::println`?
Correct answer
Consumer<String>
Explanation
`System.out::println` takes an input and returns nothing, matching `Consumer`.
Update: Admin added a tag on this question
Topics
By Admin · · 29 views