问题描述:
[单选]
下面的方法重载,正确的是()。
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.217.131)
- 热门题目: 1.已有说明float f=3. 2.已有定义int a=-2;和 3.假设一棵完全二叉树含1000
