欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > Oracle认证考试 > OCJP(310-065)

单项选择题

Given:

What is the result?()

    A.Compilation succeeds.
    B.Compilation fails due to multiple errors.
    C.Compilation fails due to an error only on line 20.
    D.Compilation fails due to an error only on line 21.
    E.Compilation fails due to an error only on line 22.

点击查看答案

相关考题

  • 单项选择题
    Click the Exhibit button. What is the result?()

    A.go in Goban go in Sente go in Sente
    B.go in Sente go in Sente go in Goban
    C.go in Sente go in Goban go in Goban
    D.go in Goban go in Goban go in Sente

  • 单项选择题
    Given: Which statement is true?()

    A.The code will compile without changes.
    B.The code will compile if public Tree() { Plant(); } is added to the Tree class.
    C.The code will compile if public Plant() { Tree(); } is added to the Plant class.
    D.The code will compile if public Plant() { this("fern"); } is added to the Plant class.
    E.The code will compile if public Plant() { Plant("fern"); } is added to the Plant class.

  • 多项选择题
    Whichtwocodefragmentscorrectlycreateandinitializeastaticarrayofintelements?()

    A.static final int[] a = { 100,200 };
    B.static final int[] a; static { a=new int[2]; a[0]=100; a[1]=200; }
    C.static final int[] a = new int[2]{ 100,200 };
    D.static final int[] a; static void init() { a = new int[3]; a[0]=100; a[1]=200; }

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

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