The expression 'c' - 'e' is ________________.
A. a random number
B. invalid
C. 2
D. -2
查看答案
Will System.out.println((char)4) display 4?
A. No
B. Yes
Which of the following statement prints smith\exam1\test.txt?
A. System.out.println("smith\\exam1\\test.txt");
B. System.out.println("smith\"exam1\"test.txt");
C. System.out.println("smith"\exam1"\test.txt");
D. System.out.println("smith\exam1\test.txt");
You can cast a character value to an int, or an int to char.
A. false
B. true
Is 'a' larger than 'A'?
A. Yes
B. No