Using the charAt() method of the String class, we can convert a string to a char in Java. Only one character is returned by the charAt() method.