R

Ram Sharma • 3.40K Points
Extraordinary

Q. What will `Collectors.joining()` do with no arguments?

  • (A) Join with comma
  • (B) Join with null
  • (C) Join with no delimiter
  • (D) Throw exception
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`Collectors.joining()` joins strings with no delimiter by default.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.