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

Is java an ide?

929


How a string is stored in memory?

968


How does compareto method work?

919


Why is a constant variable important?

900


Compare java and python.

945


What is module in project?

905


How does linkedlist work in java?

880


Which is faster string or stringbuilder?

882


Can you tell me range of byte?

950


Explain the polymorphism principle?

970


Does anyone still use java?

1062


How is garbage collection controlled?

1124


How do I write a self declaration?

1029


What are the main concepts of oops in java?

1636


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

1011