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 are static blocks and static initalizers in java ?
What is difference between variable declaration and definition?
Why we use set in java?
What is the different between get and post?
What is double in java?
How do you call a reference in java?
What are the different types of methodologies?
Why java doesn’t support multiple inheritances?
What is bifunction in java?
Can we have more than one package statement in the source file?
Define Multiprogramming and Multiprocessing in java.
How do you sort a string in alphabetical order in java?
What is a newline character in java?
What is the difference between math floor and math round?
How to make a read-only class in java?