欢迎来到PP题库网 PP题库官网
logo
全部科目 > Java认证考试 > SCWCD(310-083)

多项选择题

Given:
11.<%
12.request.setAttribute("vals", new String[]{"1","2","3","4"});
13.request.setAttribute("index", "2");
14.%>
15.<%-- insert code here --%>
Which three EL expressions, inserted at line 15,are valid and evaluate to "3"?()

    A.${vals.2}
    B.${vals["2"]}
    C.${vals.index}
    D.${vals[index]}
    E.${vals}[index]
    F.${vals[vals[index-1]]}

点击查看答案

相关考题

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

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