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 / sandeep arora

== checks the reference value, that the reference are of
same object or not.

equals method check two strings are same or not

Is This Answer Correct ?    26 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string intern in java?

1006


What is the difference between hashset and treeset in java?

1044


How to optimize the javac output?

999


You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

974


What is the purpose of a default constructor?

1080


What are the two main uses of volatile in Java?

1044


What is data member in java?

1014


How to sort list of list in java?

1073


How do you ensure that n threads can access n resources without deadlock?

1292


What is the difference between jvm and jre? What is an interface?

1070


What is queue in java?

1122


What are the 4 types of research methods?

910


What is the memory leak in java?

1019


Are constructors methods?

987


Explain how hashmap works?

1048