摘要: 1.this this作为隐式参数,也就是被构造的对象,我们以this.实例域的方式来访问实例域。 public Employee(String name,double salary) { this.name=name; this.salary=salary; } 这里简单说一下隐式参数和显示参数的 阅读全文
posted @ 2016-09-22 11:18 JosephHu 阅读(631) 评论(1) 推荐(0) 编辑