R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which collector can be used for post-processing the result?

  • (A) collectingAndThen()
  • (B) mapping()
  • (C) groupingBy()
  • (D) reducing()
  • Correct Answer - Option(A)
  • Views: 6
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`collectingAndThen()` wraps another collector and applies a finishing function on the result.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.