移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

多选题

class One {  void foo() {}  }  class Two extends One {   //insert method here  }  Which three methods, inserted individually at line 14, will correctly complete class Two?()

发布日期:2021-04-30

class One {  void foo() {}  }  class Two extends O...
A

int foo() { /* more code here */ }

B

void foo() { /* more code here */ }

C

public void foo() { /* more code here */ }

D

private void foo() { /* more code here */ }

E

protected void foo() { /* more code here */ }

标签: "暂无标签"

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!