Q. Which method is used to convert a string to uppercase?
Solution:
The toUpperCase() method converts all characters in a string to uppercase.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The toUpperCase() method converts all characters in a string to uppercase.
Strengthen Your Practice with our comprehensive question bank.