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

write a program that list all permutations of ABCDEF in which A appears before B?

2491


Are private methods final?

904


How do I compare two strings in word in java?

991


What are the types of literals?

1188


What are the 8 data types in java?

995


Which class should you use to obtain design information about an object in java programming?

1079


What is a flag and how does it work?

1010


Explain the protected field modifier?

1098


How do you remove an element from an arraylist in java?

1009


Give me some null interfaces in java?

1057


How can you write a loop indefinitely in java programming?

1029


What is a subsequence of a string?

1068


How many decimal digits is 64 bit?

932


What is local declaration?

970


Name container classes in java programming?

1102