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
What is jvm? How its run?
Explain when we should make an instance variable private.
What is java used for?
What is the difference between == and === javascript?
What is class forname?
What is pangram in java?
What is collection sort in java?
What is token in java?
Explain creating threads by extending thread class ?
What are the advantages of assembly language?
What are the basic control structures?
Why string is not a wrapper class?
What are the advantages of exception handling in java?
What is the main difference between java platform and other platforms?
How many bits is size_t?