2013年12月21日

java 总结

摘要: equals vs == equals : always remember to override hashCode if you override equals so as not to "break the contract". if equals. the hashCode must be same.== : it returns true if both variables refer to the same object, if their references are one and the same.why in the abstract class, can 阅读全文

posted @ 2013-12-21 08:07 brave_bo 阅读(297) 评论(0) 推荐(0)

导航