- 博客(1)
- 收藏
- 关注
原创 Compare strings in java
A) equals methodThe equals method compares the contents, not the reference. s1.equals(s2); returns true if s1 and s2 contain the same contents.B.T.W, s1 and s2 must be the same class type, or it
2006-09-13 22:06:00 589
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人