Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Hash Code in Java?

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


Please Help Members By Posting Answers For Below Questions

What if constructor is protected in java?

1114


Is arraylist dynamic in java?

983


Can an integer be null java?

996


What are the three best choices for a development environment?

1109


What is numeric data type?

987


What is a lock or purpose of locks in java?

1018


Can a class be protected in java?

966


Why do we need hashmap in java?

1114


What is a java string?

1072


How do you know if a value is nan?

1057


Which command from the jdk compiles a java program?

981


Using callable statement how can you pass out parameters, explain with example?

1227


What is not object oriented programming?

933


Which is fastest collection in java?

1075


What are the different types of sorting in java?

974