Answer Posted / sheetal sikarwar
hash code is integer value that is return by JVM. when we
compare object by equals() method then this will return
hash code value of object. if this value is same that means
object's memory location is same. that meand object is same.
when we are saving object in HashSet, HashMap and HashTable
then this object will save by Dictonary class. this
Dictonary class is Abstact class that save object with hash
code value.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is java english?
What is string length in java?
Why is whitespace important?
What are different ways of object creation in java ?
What is difference between fileinputstream and filereader in java?
What is collection class in java? List down its methods and interfaces.
Is char a data type in java?
Explain about sets?
What is runtime locatable code?
Give an example of call be reference significance.
Can a list be null in java?
Difference between object and reference?
What are alternatives to java serialization?
Why array is used in java?
What is size_t?