After following, you can keep track of his dynamic information in a timely manner
class a { public void s(){};} class b extends a{ public void s(){system.out.print(a);} a v= new b(); b.s;
2019-06-240个赞
Courses in the relevant section:toString() method of Object class
tostring()方法就是返回个字符串之内 的东西,调用tostring方法最简单的就是点eclipse的tostring就ok了
2019-06-240个赞
Courses in the relevant section:Recursion overview and considerations
1:递归一定要有出口 2:递归次数不能太多,否则溢出 3:构造方法不能递归使用
2019-06-290个赞
Courses in the relevant section:Overview of the three elements of network programming
.网络编程三要素: ip 端口 协议
2019-06-250个赞