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

Difference String and String Buffer

Answer Posted / kanchan

String are read only and immutable. The StringBuffer class
is used to represent characters that can be modified.
StringBuffer is faster than String when performing simple
concatenations.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the volatile modifier for? : Java thread

936


What is difference between hashset and hashmap in java?

954


Explain the difference between abstract classes and interfaces in java?

1106


Define locale.

997


What is use of map in java?

964


Can we catch more than one exception in a single catch block?

1026


What is lazy initialization in java?

949


What is default switch case? Give example.

965


I want to print “hello” even before main is executed. How will you acheive that?

1049


What is array length?

937


What is implicit object in java?

1031


What is the difference between delete and delete[]

1429


Can we override constructor?

974


Can we clone singleton object?

1015


What is Mutex (Mutual Exclusion Object) ?

1091