会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
TechTower
博客园
首页
新随笔
联系
订阅
管理
2017年8月3日
判断Integer值相等最好不用==最好使用equals
摘要: Integer c = 3;Integer d = 3;Integer e = 321;Integer f = 321;System.out.println(c == d);System.out.println(e == f); 输出 true false Integer为对象判断是否相等还是使用e
阅读全文
posted @ 2017-08-03 13:52 小淞鼠
阅读(543)
评论(0)
推荐(0)