R

Ram Sharma • 3.40K Points
Extraordinary

Q. What does `Collectors.summarizingDouble()` return?

  • (A) Double
  • (B) OptionalDouble
  • (C) DoubleSummaryStatistics
  • (D) DoubleStream
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`summarizingDouble()` returns a `DoubleSummaryStatistics` object with count, sum, min, max, and average.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.