What is the purpose of `Collectors.groupingBy()`?
Correct answer
To group elements by a classifier function
Explanation
`groupingBy()` groups elements by the result of a classifier function into a Map.
By Ram Sharma · · 27 views