欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > Java认证考试 > SCJP程序员认证考试

单项选择题

What is the result?()

    A.Line 26 prints "a" to System.out.
    B.Line 26 prints "b" to System.out.
    C.An exception is thrown at runtime.
    D.Compilation of class A will fail due to an error in line 6.

点击查看答案

相关考题

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

    A.true,true
    B.false,true
    C.true,false
    D.false,false
    E.Compilation fails.
    F.An exception is thrown at runtime.

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

    A.300-100-100-100-100
    B.300-300-100-100-100
    C.300-300-300-100-100
    D.300-300-300-300-100

  • 单项选择题
    Which one statements is true?()

    A.Compilation fails.
    B.An exception is thrown at runtime.
    C.The attribute id in the ItemTest object remains unchanged.
    D.The attribute id in the ItemTest object is modified to the new value.
    E.A new ItemTest object is created with the preferred value in the id attribute.

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

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