*
The moose likes Beginning Java and the fly likes Overriding equals() method within a subclass Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Overriding equals() method within a subclass

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

I would like to override the equals() method within a sub-class, how do I go about it?







Jon
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38509
    
  23
I have already given you information here, so shall we continue the discussion there?

Closing this thread.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Overriding equals() method within a subclass