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...

Hi, well i am unable to understand that why it is mandatory
to have same hashcode, if two objects are same?

Thanks in advance.

Answer Posted / venkateswara reddy

NO No NO....
Check it once..
If there r two same objects, there must be a diffent
hashcode to them....
U never find same hashcode to any two objects

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between static synchronization vs. Instance synchronization?

1049


What methods are used to get and set the text label displayed by a button object?

956


What are recursive functions? Give some examples?

1121


What is the use of hashmap in java?

1023


What is variable and constant explain with example?

1014


How do you find the maximum number from an array without comparing and sorting?

1071


What is the difference between a static and a non-static inner class in java programming?

984


How does callback work in java?

994


What is difference in between java class and bean?

1029


What do you mean by local variable and instance variable?

896


What are keywords in java?

949


How many arguments can a method have java?

976


How do you get length in java?

972


Is null an object java?

929


Can we declare array without size in java?

959