Computer Applications
Method that converts a character to uppercase is …………… .
- toUpper()
- ToUpperCase()
- toUppercase()
- toUpperCase(char)
Java Library Classes
ICSE 2022
13 Likes
Answer
toUpperCase(char)
Reason — Method that converts a character to uppercase is toUpperCase(char) method.
Answered By
11 Likes
Related Questions
Return data type of isLetter(char) is …………… .
- Boolean
- boolean
- bool
- char
Give output of the following String methods:
"SUCESS".indexOf('S') + "SUCCESS".lastIndexOf('S')
- 0
- 5
- 6
- -5
Corresponding wrapper class of float data type is …………… .
- FLOAT
- float
- Float
- Floating
…………… class is used to convert a primitive data type to its corresponding object.
- String
- Wrapper
- System
- Math