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

what is the difference between equals method and ==

Answer Posted / sriragv

equal method also indirectly use == method i.e hashcode
(),there will be no difference b/w equals and == unless
until u override the equal method

Let me know if iam wrong

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the milky way in a void?

1008


What is super constructor?

1053


Describe the syntax of multiple inheritance? When do we use such an inheritance?

1141


Which is faster call by value or call by reference?

988


What is difference between static and abstract class?

1063


How to create a thread in java?

1197


Which are the two subclasses under exception class?

1166


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

1068


What are the advantages of java inner classes?

1115


What is file in java?

1082


Why isn’t there operator overloading?

1142


What is the method in java?

1141


What is data type example?

1007


State the merge-sort principle and its time complexity.

1033


How many bytes is a string in java?

1040