Which of these methods can be used to convert all characters in a String into a character array?
Posted: Wed Jul 13, 2022 7:46 pm
a) charAt()
b) both getChars() & charAt()
c) both toCharArray() & getChars()
d) all of the mentioned
b) both getChars() & charAt()
c) both toCharArray() & getChars()
d) all of the mentioned