试题详情
多项选择题 Given: Which three methods, inserted individually at line 14, will correctly complete class Two?()

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 */ }

  • B,C,E
  • 关注下方微信公众号,在线模考后查看

热门试题