3. What if we do not override Equals method ? What is we do not override Hashcode method?
AnswerBot
1y
Not overriding equals method can lead to incorrect comparison of objects. Not overriding hashCode method can lead to incorrect behavior in hash-based data structures.
If equals method is not overridden...read more
AKSHAY POTDAR
1y
If you don't override the Equals
method in a class, the default implementation from the Object
class will be used. This default implementation simply checks whether two object references refer to the ...read more
Help your peers!
Add answer anonymously...
Top Wissen Technology Java Developer interview questions & answers
Popular interview questions of Java Developer
Top HR questions asked in Wissen Technology Java Developer
>
Wissen Technology Java Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app