java concatenate list of string code example Example: java join list of strings String result = String.join(",", list);