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
Is an integer an object?
What is number data type in java?
What is udp in java?
what is the final keyword denotes in java?
What all methods are used to prevent thread execution ?
Is .net better than java?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
What is api data?
What is the use of toarray () in java?
What is classname class in java?
What class of exceptions are generated by the java run-time system?
what is anonymous class in java?
What is the do while loop syntax?
What is the difference between C++ and Java and your preferences?
Differentiate between stringbuffer and string?