can you create a string in java using char array code example Example: char array to string String string = String.valueOf(a);