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 / rohan

equals() method of string class compares the contaits of string
equals() method of object class compares the address of objects
Hashcode() method returns the unique identification code of
particular object.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use compareto?

894


What is java util concurrentmodificationexception?

875


What is jvm? Why is java called the platform independent programming language?

960


What are local variables?

1014


Difference between Preemptive scheduling vs. Time slicing?

984


Write a code to show a static variable?

1044


How many bytes is string in java?

1162


Can we instantiate interface in java?

1096


List the features of java programming language.

979


Is class forname reflection?

922


What is flush () in java?

967


Explain wrapper classes in java?

946


What is indexof in java?

949


What is the order of arraylist in java?

1069


Name four container classes.

935