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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is java an ide?
How a string is stored in memory?
How does compareto method work?
Why is a constant variable important?
Compare java and python.
What is module in project?
How does linkedlist work in java?
Which is faster string or stringbuilder?
Can you tell me range of byte?
Explain the polymorphism principle?
Does anyone still use java?
How is garbage collection controlled?
How do I write a self declaration?
What are the main concepts of oops in java?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?