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 / siva thimmannagari

everyone knows that,the objects in the HASHMAP will be
stored in the form of Key,Value pair..

Here key is the hashcode

String s1="shiva";

if u want to know the hashcode for s1--simply type
s1.hashcode();this will give the hashcode which will be
used as a KEY

Is This Answer Correct ?    7 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you give few examples of final classes defined in java api?

999


what is meant by HQL?

1058


Explain the term virtual machine?

1038


What is the full form of jpeg?

955


Can we have return statement in finally clause? What will happen?

955


What’s the difference between the methods sleep() and wait()?

1008


What is the meaning of variables in research?

1032


What is treeset in java?

989


What is difference between hashset and hashmap?

1109


What are basic keywords?

1037


What are latest features introduced with java 8?

1071


Can we assign the reference to this variable?

962


Can a class be private in java?

987


Is minecraft 1.15 out?

972


Describe the various concepts related to object oriented programming (oop).

1025