欢迎来到计算机考试题库网 计算机题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

单项选择题

What is the result?()

    A.Compilation fails.
    B.An exception is thrown at runtime.
    C.The code executes and prints "running".
    D.The code executes and prints "runningrunning".
    E.The code executes and prints "runningrunningrunning".

点击查看答案

相关考题

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

    A.Compilation fails.
    B.An exception is thrown at runtime.
    C.The code executes normally and prints "sleep".
    D.The code executes normally, but nothing is printed.

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

    A.The code will deadlock.
    B.The code may run with no output.
    C.An exception is thrown at runtime.
    D.The code may run with output "0 6".
    E.The code may run with output "2 0 6 4".
    F.The code may run with output "0 2 4 6".

  • 多项选择题
    Which two statements are true?()

    A.The output could be 8-1,7-2,8-2,7-1
    B.The output could be 7-1,7-2,8-1,6-1
    C.The output could be 8-1,7-1,7-2,8-2
    D.The output could be 8-1,8-2,7-1,7-2

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

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