更多“表达式““.equals(null)的结果为true”相关问题
  • 第1题:

    以下3个表达式的结果分别是?() 0===’0’ ’0’==false 1===true

    • A、false,true,false
    • B、true,true,false
    • C、false,false,true
    • D、true,true,true

    正确答案:A

  • 第2题:

    根据下面代码定义,下列表达式结果为真的有()。

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

    正确答案:D,E

  • 第3题:

    EL表达式,${10 mod 3},执行结果为()。

    • A、10 mod 3
    • B、1
    • C、3
    • D、null

    正确答案:B

  • 第4题:

    在If条件语句中,如果条件是数值表达式,表达式的结果是0则为Flase,非0为True。


    正确答案:正确

  • 第5题:

    Given that b and c refer to instances of wrapper classes, which two statements are true?()

    • A、 b.equals(b) returns true.
    • B、 b.equals(c) returns the same result as b == c.
    • C、 b.eqials(c) can return false even if c.equals(b) returns true.
    • D、 b.equals(c) throws an exception if b and c are different wrapper types.
    • E、 b.equals(c) returns false if the type of wrapper objects being compared are different.

    正确答案:B,C

  • 第6题:

    表达式-0.0==0.0的结果为true


    正确答案:正确

  • 第7题:

    条件表达式(result)?"true":"false"的意义是(),其中result是逻辑表达式。

    • A、如果result为true,则表达式的值是true,否则为false
    • B、如果result为false,则表达式的值是true,否则为false
    • C、如果result为true,则表达式的值是false,否则为true
    • D、表达式错误

    正确答案:A

  • 第8题:

    单选题
    请选择结果为真的表达式:()。
    A

    typeof null !=object

    B

    null == undefined

    C

    1 == 01.00

    D

    NaN == NaN


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

  • 第9题:

    多选题
    Given that b and c refer to instances of wrapper classes, which two statements are true?()
    A

    b.equals(b) returns true.

    B

    b.equals(c) returns the same result as b == c.

    C

    b.eqials(c) can return false even if c.equals(b) returns true.

    D

    b.equals(c) throws an exception if b and c are different wrapper types.

    E

    b.equals(c) returns false if the type of wrapper objects being compared are different.


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

  • 第10题:

    判断题
    表达式 “boAt”= “boat”的结果为true。
    A

    B


    正确答案:
    解析: 暂无解析

  • 第11题:

    判断题
    表达式““.equals(null)的结果为true
    A

    B


    正确答案:
    解析: 暂无解析

  • 第12题:

    单选题
    下列值不为true的表达式有()。
    A

    john==john

    B

    john.equals(john)

    C

    john=john

    D

    john.equals(new String(john))


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

  • 第13题:

    逻辑表达式:!true||false的结果是()


    正确答案:false

  • 第14题:

    以下表达式的值结果为True的是?()

    • A、undefined==null
    • B、undefined===null
    • C、NaN==NaN
    • D、true==1

    正确答案:A,D

  • 第15题:

    请选择结果为真的表达式:()。

    • A、typeof null !="object"
    • B、null == undefined
    • C、1 == "01.00"
    • D、NaN == NaN

    正确答案:C

  • 第16题:

    下列哪些表达式返回的是true()。

    • A、"john"=="john"
    • B、"john".equals("john")
    • C、"john"="john"
    • D、"john".equals(newButton("john"))

    正确答案:A,B

  • 第17题:

    Which of the following statements are true?() 

    • A、 The equals() method determines if reference values refer to the same object.
    • B、 The == operator determines if the contents and type of two separate objects match.
    • C、 The equals() method returns true only when the contents of two objects match.
    • D、 The class File overrides equals() to return true if the contents and type of two separate objects        match.

    正确答案:A,D

  • 第18题:

    var one;var two=null;console.log(one==two,one===two);上面代码的输出结果是()。

    • A、false true
    • B、true false
    • C、false false
    • D、true true

    正确答案:B

  • 第19题:

    多选题
    下列哪些表达式返回的是true()。
    A

    john==john

    B

    john.equals(john)

    C

    john=john

    D

    john.equals(newButton(john))


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

  • 第20题:

    单选题
    条件表达式(result)?"true":"false"的意义是(),其中result是逻辑表达式。
    A

    如果result为true,则表达式的值是true,否则为false

    B

    如果result为false,则表达式的值是true,否则为false

    C

    如果result为true,则表达式的值是false,否则为true

    D

    表达式错误


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

  • 第21题:

    单选题
    下列表达式中,表达式返回结果为T的是(  )。
    A

    AT(''at'',''at&t'')

    B

    ''[信息]''$''管理信息系统''

    C

    EMPTY(null)

    D

    EMPTY(0)


    正确答案: D
    解析:
    D项正确,当EMPTY(<表达式>)的表达式是数值型0时返回T。A项错误,AT(<字符表达式1>,<字符表达式2>[,<数值表达式>])返回值为数值型,为求子串位置函数;B项错误,$符号返回F,判断左边字符串是否包含在右边字符串中;C项错误,EMPTY(<表达式>)返回的是F,是表达式是否为空测试函数,判断表达式是否有内容。

  • 第22题:

    多选题
    根据下面代码定义,下列表达式结果为真的有()。
    A

    (i==1)

    B

    (i==D.

    C

    (d==1)

    D

    (i.equalsD.)

    E

    (D.equals(i))

    F

    (i.equals(42))


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

  • 第23题:

    单选题
    在下面的Visual FoxPo表达式中,运算结果为逻辑真的是(  )。
    A

    EMPTY(.NULL.)

    B

    LIKE('xy?','xyz')

    C

    AT('xy','abcxyz')

    D

    IS NULL(SPACE(0))


    正确答案: C
    解析:
    EMPTY(<表达式>)是测试“空”值函数,返回逻辑值;LIKE(<表达式1>,<表达式1>)是字符串匹配函数,返回逻辑值;AT(<表达式1>,<表达式1>)是求子串位置函数,返回数值;ISNULL()是测试空值函数,返回逻辑值。