You can cast a character value to an int, or an int to char.
查看答案
Is 'a' larger than 'A'?
A. Yes
B. No
To check whether a char variable ch is an uppercase letter, you write ___________.
A. (ch >= 'A' || ch <= 'Z')
B. (ch >= 'A' && ch >= 'Z')
C. ('A' <= ch <= 'Z')
D. (ch >= 'A' && ch <= 'Z')
Which of the following is not a correct method in the Character class?
A. isLetterOrDigit(char)
B. isLetter(char)
C. toUpperCase()
D. toLowerCase(char)