Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
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?
Home
JAVA
Out of these methods, which one can be used for converting all the characters present in a String...
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()
Related questions
0
votes
Q: Out of these classes, which one allows a user to define their own formatting pattern for time and dates?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java
class
pattern
0
votes
Q: Out of these methods of the String class, which one can be used for testing the strings for equality?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java
string-class
0
votes
Q: Out of these classes, which one is used for reading strings and characters in Java from the console?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java-class
java
0
votes
Q: Out of these methods, which one makes the raw MIME formatted string?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java
mime-format
0
votes
Q: Out of these methods of the Object class, which one can clone an object?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
object-class
java
method
0
votes
Q: Out of these operators, which one can be used to get the run time info about an object?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java-operators
java
0
votes
Q: Among the following given options, which can be considered as a member of a class?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
#member
class
java
member-class
Java-questions-answers
0
votes
Q: Out of these data members of the HttpResponse class, which one is used for the storage of the response that is from an http server?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
data-member
httpresponse
java
0
votes
Q: Differentiate between the Thread class and Runnable interface for creating a Thread?
asked
Jun 17, 2022
in
JAVA
by
sharadyadav1986
thread
class
java
0
votes
Q: How can we access some class in another class in Java?
asked
May 2, 2021
in
JAVA
by
sharadyadav1986
#access-class
class
java
Java-questions-answers
...