答:hashcode相等,两个类不一定相等,equals也不一定相等;

反过来,equals相等,hashcode一定相等

相关文章:

  • 2022-12-23
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
  • 2021-04-21
  • 2022-12-23
  • 2021-07-14
猜你喜欢
  • 2022-12-23
  • 2021-10-18
  • 2021-11-20
  • 2021-11-08
  • 2022-01-08
  • 2021-06-27
  • 2021-06-26
相关资源
相似解决方案