convert method to string java array code example
Example 1: array to string java
char[] charArray = new char[] {'b','u','z','z'};
String answer = new String(charArray);
Example 2: java srting array to string
Arrays.toString(charArr);
char[] charArray = new char[] {'b','u','z','z'};
String answer = new String(charArray);
Arrays.toString(charArr);