08 2018 档案
摘要:首先 自己写了个小测试,代码如下 输出结果如下: TestClass constructor str now isvaluenum now is0TestClass constructor testClass now isTestClass@2503dbd3;num:0TestClass const
阅读全文
摘要:重载不能已返回值为判断,只能已参数类型和参数个数以及方法名来判断,举个栗子/ void fun(int i){} 和 int fun(int i){} 是会报错的,因为 int result = fun(1); 可以判断调用int fun函数,但 直接调用fun不接受返回值类型,就不知道去调用那个一
阅读全文

浙公网安备 33010602011771号