R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of these collectors is useful for combining numeric results?

  • (A) joining()
  • (B) groupingBy()
  • (C) summarizingInt()
  • (D) partitioningBy()
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`summarizingInt()` aggregates sum, average, min, max, and count for integers.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.