how to change a char array into astring array java code example Example: char array to string String string = String.valueOf(a);