欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCDCD(310-081)

单项选择题

What is the result?()

    A. foo has the value of “”
    B. foo hast he falue of null.
    C. foo has the value of “blue”
    D. foo has the value of “green”
    E. An exception is thrown.
    F. The code will not compile.

点击查看答案

相关考题

  • 问答题
    What the output?()
  • 单项选择题
    What is the result?()

    A. The program runs and prints nothing.
    B. The program runs and prints “Equal”.
    C. An error at line 5 cause compilation to fail.
    D. The program runs but aborts with an exception.

  • 单项选择题
    What is the result?()

    A. The program runs and prints “0”
    B. The program runs and prints “1”
    C. The program runs but aborts with an exception.
    D. An error “possible undefined variable” at line 4 causes compilation to fail.
    E. An error “possible undefined variable” at line 9 cause compilation to fail.

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题