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

In which order the iterator iterates over collection?

993


What are the features of junit?

1043


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

1087


Difference between abstract and concrete class ?

1174


What is a bubble sort in java?

947


What about member inner classes?

1096


Can we override static methods in java?

1070


Explain about features of local inner class?

1134


How do you sort a string in java?

962


What is polymorphism java example?

1015


Explain oops concepts in detail?

1029


What is byte [] in java?

1015


What does  mean in regex?

1056


What are static blocks and static initalizers in java ?

1079


What is the file extension for java?

1074