两个对像值相同(x.equals(y) == true),但却可有不同的hash code,这句话对不对?

答:不对,有相同的hash code。

原文地址:https://www.cnblogs.com/mianshi/p/1926642.html