欢迎来到易学考试网 易学考试官网
全部科目 > Oracle认证考试 > OCJP(310-065)

多项选择题

Given:

Which four code fragments, inserted independently at line 7, will compile?()

    A.public void m1() { }
    B.protected void m1() { }
    C.private void m1() { }
    D.void m2() { }
    E.public void m2() { }
    F.protected void m2() { }

点击查看答案

相关考题

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

    A.The code runs with no output.
    B.An exception is thrown at runtime.
    C.Compilation fails because of an error in line 20.
    D.Compilation fails because of an error in line 21.
    E.Compilation fails because of an error in line 23.
    F.Compilation fails because of an error in line 25.

  • 多项选择题
    Given: Which four statements are true?()

    A.Raccoon is-a Mammal.
    B.Raccoon has-a Mammal.
    C.BabyRaccoon is-a Mammal.
    D.BabyRaccoon is-a Raccoon.
    E.BabyRaccoon has-a Mammal.
    F.BabyRaccoon is-a BabyRaccoon.

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

    A.foofoofoofoofoo
    B.foobarfoobarbar
    C.foobarfoofoofoo
    D.foobarfoobarfoo
    E.barbarbarbarbar

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

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