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

Can we overload the methods by making them static?

1004


Can we declare the main method of our class as private?

1005


What are the 6 mandatory procedures for iso 9001?

1033


What is used of static keyword in java?

1077


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

1076


Is minecraft java edition free?

1125


How do generics work in java?

1036


What is the difference between math floor and math round?

1041


what is meant by HQL?

1071


What is integers and example?

995


Can you explain the meaning of aggregation and composition

1010


What is int short for?

1051


What is ctrl m character?

1059


Write a program to print the pattern given below

938


What is the program compilation process?

1117