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 3 types of loops in java?

1086


What is meant by class and object in java?

1043


What is the difference between a checked and an unchecked exception?

996


Can you inherit from an abstract class java?

993


Is string is a class in java?

964


Explain what is encapsulation?

1083


What is strings in java?

1042


What is the difference between menuitem and checkboxmenu item?

1338


What is unicode full form?

982


What is meant by call by reference?

1009


What is the default size of set in java?

967


When will you define a method as static in Java?

1059


What is the main functionality of the remote reference layer?

1999


What is a 16 bit word?

1000


Is a case study a method or methodology?

898