类 Parent、Child 定义如下:
1.public class Parent
2.{ public float aFun(float a, float b) throws
3.IOException {}
4.}
5.public class Child extends Parent{
6.
7.}
将以下哪种方法插入行 6 是不合法的。()
- A. float aFun(float a, float b){ }
- B. public int aFun(int a, int b)throws Exception{ }
- C. public float aFun(float p, float q){ }
- D. public int aFun(int a, int b)throws IOException{ }
查看答案
纠错
若遇到问题请联系 客服QQ:3480655671
正确答案: A
本题解析: 暂无解析
包含此试题的试卷
你可能感兴趣的试题
置顶