欢迎来到易学考试网 易学考试官网
全部科目 > Java认证考试 > SCDCD(310-081)

单项选择题

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.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题