会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
JosephHu
博客园
首页
新随笔
联系
订阅
管理
2016年9月22日
java中的this和super
摘要: 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)
编辑
公告