Q. Which method reference would map a collection of strings to their lengths?
β
Correct Answer: (A)
String::length
Explanation: `String::length` returns the length of each string.