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...

if two references are having same hash codes,is that means
those are refering to same object?

Answer Posted / dheerendra

If two objects are same then on equals obj1.equals(obj2)
return true as well as the hashCode will also be same but if
the hashCode of two objects are same then it is not sure
that objects would point to same reference.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is re-factoring in software?

988


Are true and false keywords?

983


When will we use them?

987


Can we change the value of static variable?

910


What are the differences between forwarding () method and sendredirect() methods?

1067


List the features of java programming language.

981


Difference between this() and super() ?

1029


Explain the Propertie sof class?

1003


What is a substring of a string?

1095


What is lambda in java?

999


What is a instance variable in java?

992


Why do we need strings in java?

946


Is break statement can be used as labels in java?

921


Is string a data type in java?

983


Can a class be private in java?

947