欢迎来到计算机考试题库网 考试题库官网
全部科目 > Java认证考试 > SCJP程序员认证考试

单项选择题

int index = 1;  
boolean test = new Boolean;  
boolean 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.

点击查看答案

相关考题