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 treemap in java?

1039


What is meant by tab pans?

1333


What is garbage collection? Can it be forced to run?

1059


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

2183


What about method local inner classes or local inner classes in java?

1107


Why do we need autoboxing in java?

1063


What are the different types of inner classes?

1078


Can we use return in constructor?

1001


Highest level event class of the event-delegation model?

4067


What purpose do the keywords final, finally, and finalize fulfill?

1150


Can we sort array in java?

1011


How variables are declared?

1033


How do you find the absolute value?

1107


What is the difference between hashset and treeset in java?

1109


why we use merge option in hybernate pls give a ex snippet

2030