多项选择题
Which three EL expressions, inserted at line 16, are valid and evaluate to “d”? ()
A. ${map.c}
B. ${map[c]}
C. ${map[“c”]}
D. ${map.map.b}
E. ${map[map.b]}
F. ${map.map(map.b)}
相关考题
-
单项选择题
GivenanELfunctionfoo,innamespacefunc,thatrequiresalongasaparameterandreturnsaMap,whichtwoarevalidinvocationsoffunctionfoo?()
A. ${func(1)}
B. ${foo:func(4)}
C. ${func:foo(2)}
D. ${foo(5):func}
E. ${func:foo(“easy”)}
F. ${func:foo(“3”).name} -
单项选择题
What is the result?()
A. true true
B. false true
C. false true 0
D. true true Infinity
E. false true Infinity
F. An exception is thrown.
G. Compilation or translation fails -
单项选择题
Giventhatlogin.getName()returnsajava.lang.StringvalueandgiventheJSPcode:WelcomeWhichisequivalent?()
<%>A. Welcome <% out.print(login.getName()); %>
B. Welcome <% writer.print(login.getName()); %>
C. Welcome <% response.out.print(login.getName()); %>
D. Welcome <% response.writer.print(login.getName()); %>
E. Welcome <% response.getOutputStream().write(login.getName()); %>%>
