File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 38519
    
  23
I have already given you information here, so shall we continue the discussion there?

Closing this thread.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Overriding equals() method within a subclass