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

Explain methods specific to list interface?

962


What is the use of pattern in java?

1042


What is the difference between C++ and Java and your preferences?

1101


What is the purpose of using break in each case of switch statement?

1003


When do we use synchronized blocks and advantages of using synchronized blocks?

1208


What are the types of methodology?

1074


When does a class need a virtual destructor?

995


What is a boolean expression in java?

1002


What is the use of a conditional inclusion statement in Java ?

1076


Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?

1141


What is formatted output in java?

949


What is the purpose of java?

993


What are the parts of methodology?

957


What is the Scope of Static Variable?

1210


What is string and example?

1022