What is the type of `x -> x.toUpperCase()` if x is a String?
Correct answer
Function<String, String>
Explanation
It takes a String input and returns a String output, which is a Function.
Update: Admin added a tag on this question
Topics
By Admin · · 26 views