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
Can an object subclass another object?
What is the output of the below java program?
Write a program to reverse a number in java?
What is a method signature java?
how to run ecllipse with jettyserver for windows environment using batch file
What is floor math?
What is stringwriter?
How many wrapper classes are there in java?
What is memory leak and how does java handle it?
How do I type unicode?
What is a nullable field?
What is string in java?
What is the purpose of main function in java?
What does n mean in java?
What is java jit compilers?