R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of these is a post-processing collector?

  • (A) groupingBy()
  • (B) toCollection()
  • (C) collectingAndThen()
  • (D) partitioningBy()
  • Correct Answer - Option(C)
  • Views: 9
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`collectingAndThen()` allows transformation of the collected result after it's built.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.