My Question is if the hash functions calculate a distinct value for any object based on it's address that we can not know so on that note below on Image what is 16'0 and 16'1 refer to ?
CodePudding user response:
The 100 in the code is always being returned as the hash code. The default toString using the hash-code of the object in Hexadecimal (i.e. base 16). The note is drawing your attention to the fact that 100 in decimal is 64 in Hex.