string list to string aaryy java code example
Example 1: java list of strings to string
String string = list.stream().map(Object::toString).collect(Collectors.joining(""));
Example 2: array to string java
char[] charArray = new char[] {'b','u','z','z'};
String answer = new String(charArray);