how to join array of char into string in java code example Example: char array to string String string = String.valueOf(a);