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"?()
第1题:
A、Given name and middle names
B、Family name
C、Family name and given name
D、Last name and surname
第2题:
ClicktheExhibitbutton.Given:11.<%com.example.Advisoradvisor=newcom.example.Advisor();%>12.<%request.setAttribute("foo",advisor);%>Assumingtherearenoother"foo"attributesinthewebapplication,whichthreearevalidELexpressionsforretrievingtheadvicepropertyofadvisor?()
A.${foo.advice}
B.${request.foo.advice}
C.${requestScope.foo.advice}
D.${requestScope[foo[advice]]}
E.${requestScope["foo"]["advice"]}
第3题:
A. Giving good health
B. If give good health
C. Given good health
D. If he is good given health
第4题:
第5题:
Given:
11.//insertcodehere
12.privateNmin,max;
13.publicNgetMin(){returnmin;}
14.publicNgetMax(){returnmax;}
15.publicvoidadd(Nadded){
16.if(min==null||added.doubleValue()<min.doubleValue())
17.min=added;
18.if(max==null||added.doubleValue()>max.doubleValue())
19.max=added;
20.}
21.}
Whichtwo,insertedatline11,willallowthecodetocompile?()
第6题:
Given:11.<%java.util.Mapmap=newjava.util.HashMap();12.request.setAttribute("map",map);13.map.put("a","b");14.map.put("b","c");15.map.put("c","d");%>16.<%--insertcodehere--%>WhichthreeELexpressions,insertedatline16,arevalidandevaluateto"d"?()
A.${map.c}
B.${map[c]}
C.${map["c"]}
D.${map.map.b}
E.${map[map.b]}
第7题:
A.
B.
C.
D.
E.
F.
第8题:
A、Had you not given me
B、I had not given
C、You had not given me
D、Had I not given
答案:B
第9题:
A、具有糖尿病症状,FPG>7.0mmol/L
B、OGTT血糖峰值>11. 1mmol/L
C、OGTT 2h血糖>11. 1mmol/L
D、具有临床症状,随机血糖>11. 1mmol/L
E、HbAlc≥6.5%
第10题:
证件资料页上出现“Middle name”时,在录入时应()。