Examveda
Examveda

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()

D. all of the mentioned

Answer: Option C


This Question Belongs to Java Program >> Strings

Join The Discussion

Related Questions on Strings