问题描述:
[单选]
下面的方法重载,正确的是()。
A.int fun(int a, float b) {} float fun(int a,float b) {}
B.float fun(int a, float b) {} float fun(int x, float y) {}
C.float fun(float a) {} float fun(float a, float b) {}
D.float fun1(int a,float b) {} float fun2(int a, float b) {}
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
- 我要回答: 网友(216.73.216.147)
- 热门题目: 1.如下数组声明语句,()是正确 2.设x=4,y=8,z=7,表 3.下列说法中正确的是为了保存一
