Computer Applications
Which of the following functions checks whether a character is a blank or not?
- Character.isBlankSpace( )
- Character.isWhiteSpace( )
- Character.isEmptySpace( )
- Character.isNull( )
Java Library Classes
31 Likes
Answer
Character.isWhiteSpace( )
Reason — Character.isWhiteSpace( ) returns a boolean type value true if the given argument is a white space and otherwise, it returns false.
Answered By
16 Likes
Related Questions
The parseInt() function is a member of
- integer wrapper class
- character wrapper class
- boolean wrapper class
- none
valueOf() function converts
- Primitive type to String
- String to primitive type
- character to String
- None
Which of the following statements is true?
- Character.isLowerCase( ) and Character.toLowerCase( ) are same.
- Character.isLetter( ) and Character.isAlphabet( ) are same.
- parse and valueOf functions are same.
- Character.isDigit( ) and Character.isNumber( ) are same.
The variable must be declared …….. type, if a character is to be assigned to it.
- char
- ch
- character
- alphanumeric