Which Of These Methods Can Be Used To Convert All Characters In #360
Which of these methods can be used to convert all characters in a String into a character array?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java String Handling - Java Character Extraction - Quiz No.1.
Which of these methods can be used to convert all characters in a String into a character array?
charAt()
both getChars() & charAt()
both toCharArray() & getChars()
all of the mentioned