R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which collector aggregates elements using a binary operation?

  • (A) collectingAndThen()
  • (B) teeing()
  • (C) reducing()
  • (D) joining()
  • Correct Answer - Option(C)
  • Views: 12
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`reducing()` performs a reduction using a binary operator.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.