一般在覆盖时,要同时覆盖hashCode、equals方法。

一般在覆盖时,要同时覆盖hashCode、equals方法。

A.正确

B.错误

正确答案:正确

猜你喜欢