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

单项选择题

What is the result()?

    A. Compilation will succeed.
    B. Compilation will fail at line 5.
    C. Compilation will fail at line 6.
    D. Compilation will fail at line 14.
    E. Compilation will fail at line 17.

点击查看答案

相关考题

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

    A. The code compiles and “s=” is printed.
    B. The code compiles and “s=null” is printed.
    C. The code does not compile because Strings is not initialized.
    D. The code does not compile because because Strings cannot be referneed.
    E. The code comiles.butt a NullPointerException is thrown when toString is called.

  • 多项选择题
    Whichtwoarevaliddeclarationsofchar?()

    A. Char ch = “a”;
    B. char ch = “”;
    C. char ch = “café”;
    D. char ch = “ucafe”;
    E. char ch = “ucafe’;
    F. char ch = “u10100’;
    G. char ch = (char) true;

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

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

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