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

Which is bigger float or double?

973


What must a class do to implement an interface in java programming?

1057


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

9210


What are the different types of java?

1065


Which object oriented concept is achieved by using overloading and overriding?

1107


What is parsing a string?

1171


What is the purpose of the strictfp keyword?

1161


What is string pool?

1123


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

1241


What are inner classes or non static nested classes in java?

1176


What are the different types of collections in java?

962


what is daemon thread and which method is used to create the daemon thread? : Java thread

972


What are the differences between include directive and include action?

1190


Is java jre still free?

958


What is finalize()?

1194