Q. Which of these methods can be used to convert a string to uppercase?
β
Correct Answer: (A)
toUpperCase()
Explanation: toUpperCase() returns the calling string converted to uppercase.