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

If two objects are equal then there hashcode must same.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you inherit a constructor java?

1028


What is member in java?

950


What is passing by reference in java?

972


What are the four pillars of java?

1164


Can you extend singleton class?

1043


How do you use equal in java?

1010


How can you read content from file in java?

971


What is api in java?

939


What are the types of java languages?

933


Explain about data types?

1015


Does garbage collection occur in permanent generation space in jvm?

1032


What is the difference between length and length () in java?

891


Explain the difference between static and dynamic binding in java?

1028


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

1013


What is a byte array?

1057