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
In which order the iterator iterates over collection?
What are the features of junit?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
Difference between abstract and concrete class ?
What is a bubble sort in java?
What about member inner classes?
Can we override static methods in java?
Explain about features of local inner class?
How do you sort a string in java?
What is polymorphism java example?
Explain oops concepts in detail?
What is byte [] in java?
What does mean in regex?
What are static blocks and static initalizers in java ?
What is the file extension for java?