What is the purpose of the charAt() method of a String object in Java?

A. To add a character to the string

B. To remove a character from the string

C. To get the character at a specific index

D. To get the length of the string

Answer: Option C

This Question Belongs to Java Program >> Strings

Join The Discussion

Related Questions on Strings