${not map.c}
${map.d or map.a}
${map.a and map.d}
${map.false or map.true}
${map.a and map.b or map.a}
第1题:
Given a web application in which the request parameter productID contains a product identifier. Which twoEL expressions evaluate the value of the productID?()
第2题:
Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()
第3题:
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"?()
第4题:
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?()
第5题:
Integer i = new Integer (42); Long 1 = new Long (42); Double d = new Double (42.0); Which two expressions evaluate to True?()
第6题:
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"?()
第7题:
Which the three are valid declarations of a float?()
第8题:
Which expressions will evaluate to true if preceded by the following code?() String a = "hello"; String b = new String(a); String c = a; char[] d = { ’h’, ’e’, ’l’, ’l’, ’o’ };
第9题:
Given a web application in which the request parameter product ID contains a product identifier.Which two EL expressions evaluate the value of the product ID?()
第10题:
11. public interface Status { 12. /* insert code here */ int MY_VALUE = 10; 13. } Which three are valid on line 12?()