R Ram Sharma • 3.40K Points Extraordinary Q. Which collector would you use to count the number of elements grouped by a key? (A) groupingBy(..., counting()) (B) groupingBy(..., mapping()) (C) groupingBy(..., toList()) (D) groupingBy(..., reducing()) Correct Answer - Option(A) Views: 3 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.