R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which terminal operation produces a single value result?

  • (A) reduce()
  • (B) map()
  • (C) filter()
  • (D) sorted()
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`reduce()` is used to accumulate stream elements into a single result.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.