Q. What is the output type of `Function<String, Integer>` when applied to a String?
β
Correct Answer: (B)
Integer
Explanation: `Function<String, Integer>` takes a String input and returns an Integer.