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
What is bufferedwriter?
What is variable and constant explain with example?
Explain listiterator and methods in listiterator?
Why does java does not support multiple inheritance? Explain
Is string passed by reference in java?
What is meant by flickering?
What is a static method in java?
Does substring start with 0?
What is a treeset in java?
how to open and edit XML file in Weblogic???
What is a bubble sort in java?
What class allows you to read objects directly from a stream?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What are the types of exceptions?
What super () does in java?