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()); %>%>
单项选择题Which is equivalent?()
A.A B.B C.C D.D E.E
A. An error occurs during page translation. B. Translation is successful, but nothing is included in the response. C. Both “10 x 5 = 50” and “2 * 3 = 6” are included in the JSP response. D. The text “10 x 5 = 50” is included in the JSP response, but “2 * 3 = 6” is NOT. E. The text “2 * 3 = 6” is included in the JSP response, but “10 x 5 = 50” is NOT.