📜  在 java 代码示例中加入字符串数组

📅  最后修改于: 2022-03-11 14:52:40.483000             🧑  作者: Mango

代码示例1
// my linkedin : https://www.linkedin.com/in/vaalarivan-prasanna-3a07bb203/
array = new ArrayList {"daddy", "Mummy", "Son"};  //array initialisation
String str = String.join("", array);
//str = daddyMummySon