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 are different type of exceptions in java?

973


What is an empty string in css?

1053


Explain parallel processing in java8?

1255


Difference between default and protected access specifiers?

1125


Which of the following is not an isolation level in the JDBC

2126


What are the legal parameters?

1010


Why string is not a wrapper class?

1184


How many unicode characters are there?

1067


What is formatted output?

958


Is zero a positive integer?

1066


Tell me a few examples of final classes defined in Java API?

1099


What are the two basic ways in which classes that can be run as threads may be defined?

1075


How do you clear a list in java?

1131


Compare overloading and overriding?

1005


What is java basic concept?

1045