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

How to instantiate member inner class?

1027


Explain creating threads by implementing runnable class?

1085


What is console based application in java?

989


How are the elements of a gridbaglayout organized in java programming?

934


Can we overload final method in java?

930


what is the difference between the methods sleep() and wait()? : Java thread

905


Which container method is used to cause a container to be laid out and redisplayed in java programming?

1049


Explain some best practices you would apply while using collection in java?

979


What is a jagged array in java?

1044


What are keywords and reserved words in java?

1001


What does you mean in math?

1009


extending thread class or implementing runnable interface. Which is better? : Java thread

954


What is floor math?

914


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

2441


What are access specifiers available in java?

967