4. 有如下代码:
classA{
protected int method(int a,int b){return 0;}
}
以下在A的子类中使用正确的是______。
A.public int method(int a,int b){return 0;}
B.private int method(int a,int b){return 0;}
C.private int method(int a,char b){return 0;}
D.static protected int method(int a,int b){return 0;}
E.public shortmethod(int a,intb){return 0;}