1.

What Is Rule Regarding Overriding Equals And Hashcode Method ?

Answer»

A Class must OVERRIDE the hashCode METHOD if its overriding the EQUALS method.

A Class must override the hashCode method if its overriding the equals method.



Discussion

No Comment Found