I am overriding the equals() method of the object.
public abstract String
public boolean equals(Object o)
I assume If the oid's of the two classes are equal then the two objects are equal.
I read that its a best practice to override hashCode() method when you override equals() method and it should return the same hashCode if two objects are equal.
What should be the implementation for the hashCode() method?
Thanks in advance