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

What is the Concept of Encapsulation in OOPS

990


How to perform binary search in java?

986


What is the main purpose of serialization in java?

1017


How do you bind variables?

1087


What is casting in java programming?

1023


Can you explain the private protected field modifier?

1020


Does string is thread-safe in java?

1075


Is set ordered in java?

970


Can the garbage collection be forced by any means?

982


Can we overload the main() method?

1036


Write a program in java to create a doubly linked list containing n nodes.

944


What are exception handling keywords in java?

1030


What does a boolean method return?

1220


Can we write multiple catch blocks under single try block?

1077


Can you extend main method in java?

1163