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 / nalluri

Hi,

No. Never same hash code to 2 same objects. every object is
having it's own hash code.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does map works in java?

1004


What restrictions are placed on method overriding?

1187


what is thread? What are the high-level thread states? : Java thread

1277


What is unsigned char?

1070


Where are the local variables stored?

1073


If a method is declared as protected, where may the method be accessed in java programming?

996


Distinguish between a predicate and a function?

988


Which variables are stored in stack?

901


What causes memory leaks in java?

938


How many bytes is string in java?

1253


Is array a class?

936


What is jvm? Why is java called the platform independent programming language?

1023


What is the static method?

1077


Is ++ operator is thread safe in java?

961


What modifiers may be used with an inner class that is a member of an outer class in java programming?

1103