更新时间:2022-11-16 12:07:29
当您要将对象用作使用哈希的集合中的有用哈希键时,它们是必需的。
They are required when you want to use your objects as useful hashing keys into collections that use hashing.
Have your tried to add the Student
objects which are meaningfully equal?
First understand the significance of equals method in java