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

题目
多选题
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
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which three statements about the secure domain router are true?()

  • A、The logical router can span across chassis.
  • B、The fabric and system controller module are shared by all logical routers.
  • C、Each logical router has a distinct fabric and system controller module
  • D、The logical router can share a route processor
  • E、The logical router cannot share a route processor

正确答案:A,B,E

第2题:

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

第3题:

Which one in the following expressions in Not True?

A、As wise as a fox.

B、As strong as a horse.

C、As happy as a lark.

D、As stupid as a goose.


参考答案:A

第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)

正确答案:A,B,F

第5题:

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

第6题:

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

  • A、${vals.2}
  • B、${vals["2"]}
  • C、${vals.index}
  • D、${vals[index]}
  • E、${vals}[index]
  • F、${vals[vals[index-1]]}

正确答案:B,D,F

第7题:

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]}

正确答案:B,F

第8题:

逻辑函数TRUE的表达式为()。

A、TRUE(logical_test,value_if_true,value_if_false)

B、TRUE()

C、TRUE(logical1,logical2,…)

D、TRUE(logical)


答案:B

第9题:

Which statement is true about logical units?()

  • A、Logical units are similar to VLANs used by other vendors.
  • B、A logical unit is required for transit interfaces.
  • C、Frame Relay encapsulation supports one logical unit.
  • D、Link speed and duplex are configured in the logical unit properties.

正确答案:B

第10题:

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

更多相关问题