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

What is jvm? How its run?

1030


Explain when we should make an instance variable private.

1054


What is java used for?

979


What is the difference between == and === javascript?

1100


What is class forname?

954


What is pangram in java?

969


What is collection sort in java?

908


What is token in java?

968


Explain creating threads by extending thread class ?

1015


What are the advantages of assembly language?

881


What are the basic control structures?

936


Why string is not a wrapper class?

1144


What are the advantages of exception handling in java?

1003


What is the main difference between java platform and other platforms?

1007


How many bits is size_t?

946