单项选择题
And command line is vacation: Java Test red green blue()
A. bas has the value of “”.
B. baz has the value of null.
C. bas has the value of “red”.
D. baz has he value of “blue”.
E. baz has the value of “green”.
F. the code does not compile.
G. The program throws and exception.
相关考题
-
单项选择题
Given: 8.int index = 1: 9.Boolean [] test = new boolcan [3]; 10.boolcan foo = test [index]; What is the result()?
A. foo has the value of 0.
B. foo has the value of null.
C. foo has the value of true.
D. foo has the value of false.
E. An-exception is thrown.
F. The code will not compile. -
单项选择题
What is the decimal value of J at line 5?()
A. 0
B. 1
C. 14
D. –15
E. An error at line 3 cause compilation to fail.
F. An error at line 4 cause compilation to fail. -
单项选择题
What is the final value of i?()
A. 1
B. 2
C. 3
D. 4
E. 5
