new string from array string java code example Example: java srting array to string Arrays.toString(charArr);