R

Ram Sharma • 3.40K Points
Extraordinary

Q. What will `Collectors.joining(", ")` produce from `["a", "b", "c"]`?

  • (A) abc
  • (B) a, b, c
  • (C) [a, b, c]
  • (D) a:b:c
  • Correct Answer - Option(B)
  • Views: 4
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`joining(", ")` joins strings with a comma and space as delimiter.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.