多选题Given: Which three methods, inserted individually at line 14, will correctly complete class Two?()Aint foo() { /* more code here */ }Bvoid foo() { /* more code here */ }Cpublic void foo() { /* more code here */ }Dprivate void foo() { /* more code here

题目
多选题
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 */ }


相似考题
参考答案和解析
正确答案: D,B
解析: 暂无解析