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 / prasanna
If two objects are equal then there hashcode must same.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is integers and example?
What is the size of integer?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
Why bytecode is called bytecode?
What is blank final variable?
How do you find the independent variable?
What is difference between array and arraylist in java?
Does apple use java?
How do you compare arrays in java?
What is a return in java?
What is get () in java?
Explain the selection sort algorithm?
Explain how to convert any java object into byte array.
What is difference between c++ and java ?
How does split work in java?