Login
Remember
Register
Ask a Question
Out of these methods, which one can be used for converting all the characters present in a String into an Array of characters?
0
votes
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
Out of these methods, which one can be used for converting all the characters present in a String into an Array of characters?
1) both getChars() & toCharArray()
2) both charAt() & getChars()
3) charAt()
4) all of the mentioned
java
methods
class
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 21, 2022
by
sharadyadav1986
1) both getChars() & toCharArray()
...