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
Can a main method be declared final?
What is arraylist e?
What is temp in java?
How do you invoke a method?
State the difference between creating string as new () and literal.
Which are the two subclasses under exception class?
What does jre stand for?
What is the purpose of return statement?
Explain about data types?
What is the difference between variable declaration and variable initialization?
How to add menushortcut to menu item?
What are three advantages of using functions?
What is a protected method?
How do you sort a string in alphabetical order in java?
What’s the difference between callable and runnable?