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

Difference between Preemptive scheduling vs. Time slicing?

1015


What is continuity of a function?

1072


What is purpose of keyword void?

1039


What happens if constructor is private?

1022


Can arraylist hold different types java?

977


How do you sort in descending order in java using collections sort?

889


What is break and continue statement?

1085


What is user defined exception in Java?

1069


Difference between operator overloading and function overloading

1060


What is difference between final and finally in java?

1076


What is an inner class in java?

965


What are java annotations?

1150


Explain the difference between an Interface and an Abstract class?

1169


Is it necessary that each try block must be followed by a catch block?

1014


How do you clear an arraylist in java?

984