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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is java console application?
Which is better 64 bit or 32 bit?
What is a two-pass assembler?
Why do we need data serialization?
Explain parallel processing in java8?
what is static import in java? Explain
What is difference between static and abstract class?
What are serialization and deserialization?
Discuss about garbage collector in Java.
What are user defined exceptions?
Describe different states of a thread.
What is the use of coding?
What are the Static and Dynamic Variables? Differentiate them.
Are arrays dynamic in java?
What does flagged out mean?