已知如下类定义:class Base {public Base (){ //… }public Base ( int m ){ //… }protected void fun( int n ){ //… }}public class Child extends Base{// member methods}如下可以正确地加入子类中的有()
A. private void fun( int n ){ //…}
B. void fun ( int n ){ //… }
C. protected void fun ( int n ) { //… }
D. public void fun ( int n ) { //… }