Hi guys, my lecturer has mentioned overriding the equals method before. Am I correct in saying that you override the equals method so that instead of checking if two objects have the same reference it checks their values?
And therefore is it also right that there is only one code for overwriting it? if so could you guys demonstrate what that code is?