How do you understand the sentence that corejava overrides the equal method of the object class?

employee an a.equal (b) b;
why not?

\ Sorry, the picture is skewed.

Feb.28,2021
The original

does not mean that a.equals (b) does not work, but that the equals method defined in this way does not really override Object's equals method. So for the Employee object, it has two equals methods, which is risky. If you accidentally set it to Object, it will break down and may lead to logic errors

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b7e6-2c2b0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b7e6-2c2b0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?