Vidyalelo
Java Programming · Q24

Strings

Programming · Java Programming · question 24

Q24

What is the purpose of the toLowerCase() method of a String object in Java?

A.
To convert the string to uppercase.
B.
To convert the string to lowercase.
Answer
C.
To check if the string is empty.
D.
To reverse the string.

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board