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 are java packages?

1081


What is the symbol for average?

1074


What is entry set in java?

1229


please send me hr interview questions in it industry

2173


Can we create a class inside a class in java?

1145


How do you define a parameter?

1080


What is re-factoring in software?

1101


What is the difference between class & structure?

1311


Explain the difference between intermediate and terminal operations in java8?

1161


What does @param args mean in java?

1112


What is the size of int?

1128


How do you check if a character in a string is a digit or letter?

1123


What is the use of parse function in java?

1040


Can an object be null?

1008


What is the final keyword denotes?

1167