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 / thevendhiran.k

equal method is used to check whether the two strings are
equal(same). exmpl: if the 1st string is 'deva' then it ll
check the 2nd is also 'deva'. whereas = is a assignment
operator used to assign a value to the variable.

Is This Answer Correct ?    13 Yes 54 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nan inf?

1046


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

1047


What is lazy programming?

1016


Can we call the constructor of a class more than once for an object?

1076


What does percent mean in java?

1008


how can you take care of mutual exclusion using java threads? : Java thread

1022


What happens if a constructor is declared private?

1010


How can we break singleton in java?

944


How to do encapsulation in java?

1038


Can we have multiple classes in single file ?

1051


What do you mean by thread safe?

956


What is a bufferedreader?

1070


What are exceptions

1079


How does a cookie work in Servlets?

829


What does ide stand for?

918