how to convert a character array to string code example Example: char array to string String string = String.valueOf(a);