Computer Applications
Return data type of isLetter(char) is …………… .
- Boolean
- boolean
- bool
- char
Java Library Classes
ICSE 2022
21 Likes
Answer
boolean
Reason — isLetter() method returns true if the specified character is a letter else, it returns false. Thus, the return data type of isLetter(char) is boolean.
Answered By
14 Likes
Related Questions
Method that converts a character to uppercase is …………… .
- toUpper()
- ToUpperCase()
- toUppercase()
- toUpperCase(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