R

Ritu Singhal • 4.36K Points
Extraordinary

Q. 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.
  • (C) To check if the string is empty.
  • (D) To reverse the string.
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics