String.join(delimiter, elements);. 以下有三种方法:. 1)直接指定元素. String joined1 = String.join(",", "a", "b", "c");. 2)使用数组. String[] array = new ...
確定! 回上一頁