多选题Given: 11. 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}

题目
多选题
Given: 11. 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}


相似考题
更多“多选题Given: 11. 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}”相关问题
  • 第1题:

    Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()

    • A、Every  tag must have at least one  tag.
    • B、A  tag can have many  tags.
    • C、A given  tag can apply to only one  tag.
    • D、A given  tag can contain from zero to many  tags.
    • E、It is possible to construct a valid  tag such that,for a given resource,no user rolescan access that resource.

    正确答案:B,E

  • 第2题:

    Integer i = new Integer (42);  Long 1 = new Long (42);  Double d = new Double (42.0);   Which two expressions evaluate to True?()

    • A、 (i ==1)
    • B、 (i == d)
    • C、 (d == 1)
    • D、 (i.equals (d))
    • E、 (d.equals (i))
    • F、 (i.equals (42)

    正确答案:D,E

  • 第3题:

    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,B,E

  • 第4题:

    多选题
    public static void main( String[] args ) {  Integer a = new Integer(10);  Integer b = new Integer(10);  Integer c = a;  int d = 10;  double e = 10.0;  }   Which three evaluate to true?()
    A

    (a == c)

    B

    (d == e)

    C

    (b == d)

    D

    (a == b)

    E

    (b == c)

    F

    (d == 10.0)


    正确答案: B,D
    解析: 暂无解析

  • 第5题:

    多选题
    Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()
    A

    Every  tag must have at least one  tag.

    B

    A  tag can have many  tags.

    C

    A given  tag can apply to only one  tag.

    D

    A given  tag can contain from zero to many  tags.

    E

    It is possible to construct a valid  tag such that,for a given resource,no user rolescan access that resource.


    正确答案: D,A
    解析: 暂无解析

  • 第6题:

    多选题
    Given: 11. 12.catalog 13./catalogTemplate.jsp 14.10 15. Which two are true?()
    A

    Line 13 is not valid for a servlet declaration.

    B

    Line 14 is not valid for a servlet declaration.

    C

    One instance of the servlet will be loaded at startup.

    D

    Ten instances of the servlet will be loaded at startup.

    E

    The servlet will be referenced by the name catalog in mappings.


    正确答案: C,D
    解析: 暂无解析

  • 第7题:

    多选题
    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?()
    A

    ${product ID}

    B

    ${param.productID}

    C

    ${params.productID}

    D

    ${params.productID[1]}

    E

    ${paramvalues.productID}

    F

    ${paramValues.productID[0]}

    G

    ${pageContext.request.productID}


    正确答案: F,D
    解析: 暂无解析

  • 第8题:

    多选题
    Given 11.public interface Status { 12./* insert code here */ int MY_VALUE = 10; 13.} Which three are valid on line 12?()
    A

    final

    B

    static

    C

    native

    D

    public

    E

    private


    正确答案: B,C
    解析: 暂无解析

  • 第9题:

    多选题
    Given: 11. 16. 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,C
    解析: 暂无解析

  • 第10题:

    多选题
    Which the three are valid declarations of a float?()
    A

    float foo = -1;

    B

    float foo = 1.0;

    C

    float foo = 42el:

    D

    float foo = 2.02f:

    E

    float foo = 3.03d:


    正确答案: C,D
    解析: 暂无解析

  • 第11题:

    多选题
    11. public interface Status {  12. /* insert code here */ int MY_VALUE = 10;  13. }  Which three are valid on line 12?()
    A

    final

    B

    static

    C

    native

    D

    public

    E

    private

    F

    abstract

    G

    protected


    正确答案: G,A
    解析: 暂无解析

  • 第12题:

    多选题
    Given: 11. 16. 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]}


    正确答案: E,D
    解析: 暂无解析

  • 第13题:

    Which the three are valid declarations of a float?()

    • A、 float foo = -1;
    • B、 float foo = 1.0;
    • C、 float foo = 42el:
    • D、 float foo = 2.02f:
    • E、 float foo = 3.03d:

    正确答案:A,D,F

  • 第14题:

    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?()

    • A、 ${product ID}
    • B、 ${param.productID}
    • C、 ${params.productID}
    • D、 ${params.productID[1]}
    • E、 ${paramvalues.productID}
    • F、 ${paramValues.productID[0]}
    • G、 ${pageContext.request.productID}

    正确答案:B,F

  • 第15题:

    11. public interface Status {  12. /* insert code here */ int MY_VALUE = 10;  13. }  Which three are valid on line 12?()

    • A、 final
    • B、 static
    • C、 native
    • D、 public
    • E、 private
    • F、 abstract
    • G、 protected

    正确答案:A,B,D

  • 第16题:

    多选题
    Given: Which three are true?()
    A

    Cat is-a Animal

    B

    Cat is-a Jumper

    C

    Dog is-a Animal

    D

    Dog is-a Jumper

    E

    Cat has-a Animal

    F

    Beagle has-a Tail


    正确答案: D,F
    解析: 暂无解析

  • 第17题:

    多选题
    Given: 11. 12.catalog 13./catalogTemplate.jsp 14.10 15. Which two are true?()
    A

    Line 13 is not valid for a servlet declaration.

    B

    Line 14 is not valid for a servlet declaration.

    C

    One instance of the servlet will be loaded at startup.

    D

    Ten instances of the servlet will be loaded at startup.

    E

    The servlet will be referenced by the name catalog in mappings.


    正确答案: B,D
    解析: 暂无解析

  • 第18题:

    多选题
    Given: 11. 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}


    正确答案: E,A
    解析: 暂无解析

  • 第19题:

    多选题
    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’ };
    A

    (a == Hello)

    B

    (a == b)

    C

    (a == c)

    D

    a.equals(b)

    E

    a.equals(d)


    正确答案: C,D
    解析: 暂无解析

  • 第20题:

    多选题
    Given a web application in which the request parameter productID contains a product identifier. Which twoEL expressions evaluate the value of the productID?()
    A

    ${productID}

    B

    ${param.productID}

    C

    ${params.productID}

    D

    ${params.productID[1]}

    E

    ${paramValues.productID}

    F

    ${paramValues.productID[0]}


    正确答案: E,F
    解析: 暂无解析

  • 第21题:

    多选题
    Given: 11. 15. Which three EL expressions, inserted at line 15,are valid and evaluate to "3"?()
    A

    ${vals.2}

    B

    ${vals[2]}

    C

    ${vals.index}

    D

    ${vals[index]}

    E

    ${vals}[index]

    F

    ${vals[vals[index-1]]}


    正确答案: B,D
    解析: 暂无解析

  • 第22题:

    多选题
    Given an EL function foo, in namespace func, that requires a long as a parameter and returns a Map,which two are valid invocations of function foo?()
    A

    ${func(1)}

    B

    ${foo:func(4)}

    C

    ${func:foo(2)}

    D

    ${foo(5):func}

    E

    ${func:foo(easy)}

    F

    ${func:foo(3).name}


    正确答案: D,E
    解析: 暂无解析

  • 第23题:

    多选题
    Which three logical expressions evaluate to true?()
    A

    (a = = c)

    B

    (d = = c)

    C

    (b = = d)

    D

    (a = = b)

    E

    (b = = c)

    F

    (d == 10.0)


    正确答案: B,E
    解析: 暂无解析

  • 第24题:

    多选题
    Integer i = new Integer (42);   Long 1 = new Long (42);  Double d = new Double (42.0); Which two expressions evaluate to True? ()
    A

    (i ==1)

    B

    (i == d)

    C

    (d == 1)

    D

    (i.equals (d))

    E

    (d.equals (i))

    F

    (i.equals (42))


    正确答案: E,B
    解析: 暂无解析