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 / venkateswara reddy
NO No NO....
Check it once..
If there r two same objects, there must be a diffent
hashcode to them....
U never find same hashcode to any two objects
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Difference between static synchronization vs. Instance synchronization?
What methods are used to get and set the text label displayed by a button object?
What are recursive functions? Give some examples?
What is the use of hashmap in java?
What is variable and constant explain with example?
How do you find the maximum number from an array without comparing and sorting?
What is the difference between a static and a non-static inner class in java programming?
How does callback work in java?
What is difference in between java class and bean?
What do you mean by local variable and instance variable?
What are keywords in java?
How many arguments can a method have java?
How do you get length in java?
Is null an object java?
Can we declare array without size in java?