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

Difference between hashCode() & equals()?

Answer Posted / srikanth

hashCode() method returns integer no assigned by jvm
ie ...it is for identifying objects in heap memory very
fastly

equals() it is for comparing addreess of objects

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two types of exceptions in java? Which are the differences between them?

1150


What are conditionals and its types?

1184


How many types of threads are there in java?

1105


Why declare Main() inside the class in java ?

1114


Explain static nested classes ?

1168


What happens to the Exception object after handling an exception?

2424


What is the difference between yielding and sleeping?

1177


What is the difference between this() and super() in java?

1093


What is string builder?

946


what is the difference between yielding and sleeping? : Java thread

1006


How do you get length in java?

1084


What is string data type?

1015


What is tree in java?

990


What is static keyword in java?

1055


What are the advantages of defining packages in java?

1035