Vidyalelo
Java Programming · Q8

Strings

Programming · Java Programming · question 8

Q8

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
Answer
D.
To get the length of the string

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board