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 are uses of Hash Code?

Answer Posted / suraj kumar

1. When equals() method is invoked on java objects to check
their equality, then the hash code of objects are checked. The
two objects having same hash code are equal.
2. The objects having distinct hash code in HashTable
increases the performance of HashTable. Hence, the objects
should be checked its distinct hash code before storing into
HashTable.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are structs in java?

1061


Where are global variables stored?

957


Can private class be inherited in java?

1031


How is java created?

945


Difference between process and thread?

1033


What happens to the Exception object after handling an exception?

2372


What is unmodifiable list in java?

962


What are the different types of multitasking?

1108


what is the purpose of "virtual"?

1086


What is the purpose of garbage collection in java?

1100


Difference between static binding and dynamic binding?

1108


what is the difference between Object Based Language and Object Oriented Language?

1033


Describe what happens when an object is created in java ?

1010


Which api is provided by java for operations on set of objects?

1461


What is meant by tab pans?

1248