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...

whats the difference between == and .equal ?

Answer Posted / tarun

equals() method compare the character inside the string object

== operator compare two object reference to see whether they
refer same instance

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you print array in java?

987


Explain the difference between call by refrence and call by value?

1018


can I implement my own start() method? : Java thread

991


Difference between a class and an object?

1026


What is busy spin, and why should you use it?

1082


How to reverse a string in java?

1074


What is meant by collection in java?

1058


How many types of flags are there?

1013


What is dot operator?

1030


What are the parts of methodology?

972


Can we write any code after throw statement?

1045


Is array passed by reference in java?

1025


Write a java program to generate fibonacci series ?

1069


How to display all the prime numbers between 1 and 100

1011


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

948