Given: 10. class One { 11. void foo() { } 12. } 13.
题目
多选题
Given: 10. class One { 11. void foo() { } 12. } 13. class Two extends One { 14. //insert method here 15. } Which three methods, inserted individually at line 14, will correctly complete class Two?()
Apublic void foo() { /* more code here */ }
Bprivate void foo() { /* more code here */ }
Cprotected void foo() { /* more code here */ }
Dint foo() { /* more code here */ }
Evoid foo() { /* more code here */ }