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

equals will compare two objects,== will compare whether two
reference variables refer to same object or not

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is singleton class in java?

1056


What do you understand by synchronization?

1052


How garbage collection is done in java?

1054


What is main string [] args?

993


What is fail fast in java?

1165


Why should we use singleton pattern instead of static class?

931


What is the multi-catch block in java?

1040


Is there a case when finally will not execute?

1009


Differentiate between run time error and syntax error.

1137


What is the difference between length and length() method in java?

1120


Can a class be private?

962


What is static import in java?

987


This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }

989


Explain about sets?

1026


How hashset works internally in java?

1096