题型:单选题 标签:代码
题目:
4. 类Test定义如下:
1. public class Test{
2. public float f (float a, float b) {return 0;}
3.
4. }
将选项______中代码插入第3行是不合法的。
A.public float f (float a, float b,float c) {return 0;}
B.public float f (float c,float d) {return 0;}
C.public int f (int a,int b) {return 0;}
D.private float f (int a,int b,float c) {return 0;}