True. I actually think the answer that the interviewer was going for was for the OP to futz around with the equals() and hashcode() methods and that he should have written a small program to play...
Type: Posts; User: KevinWorkman
True. I actually think the answer that the interviewer was going for was for the OP to futz around with the equals() and hashcode() methods and that he should have written a small program to play...
You've already supplied one suggestion, so what have you done with it? Have you created a small program to play around with and test your assumptions? What have you tried? Post it here.
Also, word...