join array to stirng java code example
Example: joining an array of strings in java
// my linkedin : https://www.linkedin.com/in/vaalarivan-prasanna-3a07bb203/
array = new ArrayList<String> {"daddy", "Mummy", "Son"}; //array initialisation
String str = String.join("", array);
//str = daddyMummySon