Hi, well i am unable to understand that why it is mandatory
to have same hashcode, if two objects are same?
Thanks in advance.
Answer Posted / nalluri
Hi,
No. Never same hash code to 2 same objects. every object is
having it's own hash code.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
Can static methods be inherited?
Difference between java and javascript
What are the 4 types of characters?
What do you mean by platform independence?
Why java uses the concept of the string literal?
What is the meaning of I ++ in java?
How use .contains in java?
What is the requirement of thread in java?
What is flush buffer?
how come we know the object is no more used in the class?
What are alternatives to java serialization?
Is alive and join method in java?
What is the difference between a window and a frame in java programming?
Is string a wrapper class?