Vidyalelo
Java Programming · Q59

Strings

Programming · Java Programming · question 59

Q59

Which of these methods can be used to convert all characters in a String into a character array?

A.
charAt()
B.
both getChars() & charAt()
C.
both toCharArray() & getChars()
Answer
D.
all of the mentioned

Answer: Option C

Solution

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