I have a new proffesor this semester who requires an equals method in every class. im not quite sure what this is or what it would look like. can any one give me a short example?
Printable View
I have a new proffesor this semester who requires an equals method in every class. im not quite sure what this is or what it would look like. can any one give me a short example?
Does thess help ?
Java Practices -> Implementing equals
The equals() method
Luck,
CJSL
And maybe this article. It's clearly explain about equal() method as well as the difference/similarity with '==' operator.