Given: 11.<% java.util.Map map = new java.util.HashMap(); 12.request.setAttribute("map", map); 13.map.put("a", "true"); 14.map.put("b", "false"); 15.map.put("c", "42"); %> Which three EL expressions are valid and evaluate to true?()
A: ${not map.c}
B: ${map.d or map.a}
C: ${map.a and map.d}
D: ${map.false or map.true}
E: ${map.a and map.b or map.a}
A: ${not map.c}
B: ${map.d or map.a}
C: ${map.a and map.d}
D: ${map.false or map.true}
E: ${map.a and map.b or map.a}
A,B,E
举一反三
- Given: 11.<% java.util.Map map = new java.util.HashMap(); 12.request.setAttribute("map", map); 13.map.put("a", "b"); 14.map.put("b", "c"); 15.map.put("c", "d"); %> 16.<%-- insert code here --%> 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]}
- 下列语句正确的是?() A: Map B: Map<> C: HashMap< D: Map<String,String>
- 下面创建HashMap的语句中,正确的是 ( )。 A: Map m= new HashMap(); B: HashMap m= new Map(); C: HashMap m=new HashMap<String,String>; D: Map m = new Map();
- 下面创建HashMap的语句中,正确的是 ( )。 A: Map m= new HashMap(); B: HashMap m= new Map(); C: HashMap m=new HashMap<String,String>; D: Map m = new Map();
- 下面关于MAP说法正确的有() A: MAP=1/3SBP+2/3DBP B: MAP=DBP+1/3脉压 C: MAP=CO×SVR D: MAP=(SBP+DBP)/2 E: MAP=(2DBP+SBP)×1/3
内容
- 0
There is ________ map in the classroom. ________ map is on the wall. A: a ; A B: the ; The C: a ; The D: the ; A
- 1
平均动脉压的计算公式是() A: mAP=DBP+2/3(SBP-DBP) B: mAP=DBP+1/3(SBP-DBP) C: mAP=1/3(2SBP+DBP) D: mAP=2/3(SBP+2DBP) E: mAP=2DBP+1/3SBP
- 2
We are going to discuss his suggestion that ______________________. A: everyone must have a map B: everyone has a map C: everyone have a map D: everyone had a map
- 3
List、Set、Map哪个继承自Collection接口,以下说法正确的是( )。 A: List Map B: Set Map C: List Set D: List Map Set
- 4
List、Set、Map哪个继承自Collection接口,以下说法正确的是() List Map List Map Set List Set Set Map