Computer Applications
The variable must be declared …….. type, if a character is to be assigned to it.
- char
- ch
- character
- alphanumeric
Java Library Classes
28 Likes
Answer
char
Reason — The variable must be declared 'char' type, if a character is to be assigned to it.
Answered By
16 Likes
Related Questions
Which of the following functions checks whether a character is a blank or not?
- Character.isBlankSpace( )
- Character.isWhiteSpace( )
- Character.isEmptySpace( )
- Character.isNull( )
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.
Fill in the blanks:
_________ is a collection of classes.
Fill in the blanks:
By default, _________ package is imported in a Java program.