Q. What does `Function<String, Integer> lengthFunc = String::length;` do?
β
Correct Answer: (B)
Maps string to its length
Explanation: It maps a string input to its length.