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 is proper subset?

975


What is the generic function?

986


What are the features in java?

1073


What does microservices mean?

949


How many techniques can be employed to create a string object?

1104


How you can force the garbage collection?

983


What is java’s garbage collected heap?

973


Highest level event class of the event-delegation model?

4009


What is thread life cycle in java?

1063


What the difference is between execute, execute Query, execute Update?

833


What is difference between throw and throws ?

1136


Can we create an object of static class in java?

1016


Does java allow default arguments?

996


What is java util function?

1095


Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?

1081