Which method converts a string to lower case?

  1. lowerCase()
  2. toLowerCase()
  3. convertToLower()
  4. smallCase()
Correct answer toLowerCase()

Explanation

toLowerCase() converts all letters in the string to lowercase.

Update: Admin added a tag on this question

Topics

By Admin · · 30 views