This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Matthew Brown wrote:What happens if o isn't an instance of A?
Yes that's what I am thinking. Because according to me it does not clear the "NULL" point of the contract and so it does not fulfill the contract for equals() method.
BUT, in practice exam4, question 6, it is given that it does as answer.
So please clarify.