会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
对与错
博客园
首页
新随笔
联系
管理
订阅
2016年7月16日
2016.7.16equals的使用(一)
摘要: class V{ private int a; V(int a){ rhis a=a; } public boolean equals(int a,int b){ if(this.a equals(b.a)){//this.a中的this 谁在主函数中调用它,谁就是this 当前对象的引用嘛 ret
阅读全文
posted @ 2016-07-16 19:52 对与错
阅读(137)
评论(0)
推荐(0)
公告