下列接口中标注的(A,B,C,D)中,哪些是错误的: interface Takecare { protected void speakHello(); //A public abstract void cry(); //B int f(); //C abstract float g(); //D }
A: A
B: B
C: C
D: D
A: A
B: B
C: C
D: D
举一反三
- 下列接口中标注的(A,B,C,D)中,哪两个是错误的? interface Takecare { protected void speakHello(); //A public abstract static void cry(); //B int f(); //C abstract float g(); //D }
- 下列接口中标注的(A,B,C,D)中,哪些是错误的: interface Takecare { protected void speakHello(); //A public abstract void cry(); //B int f(); //C abstract float g(); //D } A: A B: B C: C D: D
- 下列接口中标注的(A,B,C,D)中,哪些是错误的: interface Takecare { protected void speakHello(); //A public abstract void cry(); //B int f(); //C abstract float g(); //D } A: A B: B C: C D: D
- 下列程序中注释的那个代码是错误的? abstract class Takecare{ protected void speakHello() {} public abstract static void cry(); static int f(){return 0;} abstract float g(); } A: protected void speakHello() {} B: public abstract static void cry(); C: static int f(){return 0;} D: abstract float g();
- 下列接口中标注的(A,B,C,D)中,哪两个是错误的?interface Takecare { protected void speakHello(); //A public abstract static void cry(); //B int f(); //C abstract float g(); //D} A: A B: B C: C D: D