R

Ram Sharma • 3.40K Points
Extraordinary

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

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

Explanation by: Ram Sharma
`Collectors.summingDouble()` returns the sum of the double values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.