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

Name some OOPS Concepts in Java?

1064


What does i ++ mean in Java?

943


What is difference between java and java ee?

1024


Why array is used in java?

963


Is nullpointerexception checked or unchecked?

1028


How many bytes is a string in java?

987


What is the dot operator?

995


Explain the selection sort algorithm and state its time complexity?

1013


What is string buffer?

933


How do you use compareto?

942


Why string is not thread safe?

1004


How do you calculate roots in java?

1081


What is exception propagation?

1129


Name some classes present in java.util.regex package.

1027


What does the three dot emoji mean?

1116