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 an enumeration?

1119


Give me some null interfaces in java?

1115


What are the main concepts of oops in java?

1850


Why java is a platform independent? Explain

1157


What is the difference between error and an exception?

1231


Is string a wrapper class?

1060


What is the base class of all exception classes in java?

1105


Which one will take more memory: an int or integer?

1281


What is the covariant return type?

1159


How would you format a date in java? I.e. In the ddmmyyy format?

1432


Is singleton class thread safe?

1052


Is java pass by value or pass by reference?

1029


Which is faster set or list in java?

1076


How many characters is 16 bytes?

1046


What is files manifesting?

2255