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

Can a main method be declared final?

1051


What is arraylist e?

1074


What is temp in java?

992


How do you invoke a method?

996


State the difference between creating string as new () and literal.

1103


Which are the two subclasses under exception class?

1081


What does jre stand for?

1054


What is the purpose of return statement?

1053


Explain about data types?

1071


What is the difference between variable declaration and variable initialization?

1023


How to add menushortcut to menu item?

995


What are three advantages of using functions?

1005


What is a protected method?

1133


How do you sort a string in alphabetical order in java?

912


What’s the difference between callable and runnable?

1095