R

Ram Sharma • 3.40K Points
Extraordinary

Q. In `Collectors.teeing()`, what is required as parameters?

  • (A) Two classifiers and a merge function
  • (B) Two collectors and a merge function
  • (C) A collector and a partitioning function
  • (D) A collector and a comparator
  • Correct Answer - Option(B)
  • Views: 29
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma

`teeing()` takes two collectors and a BiFunction to combine their results.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.