Advertisements
Advertisements
Question
The method that converts a character to uppercase is:
Options
toUpperCase()ToUppercase()toUpperCase(char)touppercase(char)
MCQ
Advertisements
Solution
toUpperCase(char)
Explanation:
The toUpperCase(char) method converts the given lowercase character into its uppercase equivalent and returns the uppercase character.
shaalaa.com
Is there an error in this question or solution?
Chapter 5: Library Classes - Exercises [Page 133]
