java create character string code example Example: convert char to string java char c = 'a'; String s = Character.toString(c); //s == "a"