問題詳情

第27題Given:10. class One{11. void foo(){}12. }SCJP 6.0 認證教戰手冊 黃彬華著 碁峰出版1413. class Two extends One{14. //insert method here15. }Which three methods, inserted individually at line 14, will correctly complete class Two? (Choose three.)
(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
難度:困難0.260274
統計:A(25),B(59),C(79),D(22),E(70)

內容推薦

內容推薦