- 博客(1)
- 收藏
- 关注
原创 java中“==”的使用
Java中“==”的使用 1基本数据类型:比较的是内容; 2引用数据类型:比较的是对象地址; 例子如下: publicclass TestString { publicstaticvoid main(String[] args) { String s1 ="Monday"; String s2 =new String("Monday"); if (s1
2016-04-09 13:57:14 461
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人