There is a contract between equals() and hashCode() method in Java, it is:- Two equivalent objects should have the same hashcode.
確定! 回上一頁