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

多项选择题

Which two are valid declarations of char?()

    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)

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

    A. The program prints “lava”.
    B. The program prints “java”.
    C. An error at line 7 causes compilation to fail.
    D. Complication succeeds but the program throws an exception.

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

    A. Compilation succeeds and 1 is printed.
    B. Compilation succeeds and 2 is printed.
    C. An error at line 8 causes compilation to fail.
    D. An error at line 14 causes compilation to fail.

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

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

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

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