Hi, in my code I have
Code :public boolean equals(Object obj) { if (this.equals(obj)){ return true; } return false; }
Im just making sure I know what the equals method does...
Does this check if all of the attributes in 'obj' are this same as in the object the method belongs to?
Thanks.
