The charAt() method of the String class is used to extract a single character from a given string. The general form of the charAt() method is as follows:
Here, “where” specifies the index value of the character that is to be extracted from a given string. This index value must always be positive and refers to a position within a given string.
Pass SUN scja - SCJA Pass SUN CX310-019 - SCJA