What does `Collectors.joining(",")` do?

  1. Joins strings with a comma
  2. Groups strings into a set
  3. Maps strings to keys
  4. Splits strings by comma
Correct answer Joins strings with a comma

Explanation

`Collectors.joining(",")` joins stream of strings with a comma separator.

By Ram Sharma · · 26 views