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 difference between String buffer and String builder?

Answer Posted / subhareddy

There is no much difference between string buffer and string
builder.only thing is all the methods available in string
buffer class are synchronized methods.and the method
available in string builder class are non-synchronized methods.
If we want thread safety then we have to go for string
buffer ,but performance goes down.if we don't want thread
safety the we can go for string builder

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which sorting algorithm is in place?

914


Does java list allow null?

936


What is a function easy definition?

969


What modifiers are allowed for methods in an interface?

1114


Is null a string or object in java?

931


What is difference between checked and unchecked exception in java?

977


How to sort array in descending order in java?

882


How do you define a method?

941


Can we override data members in java?

1099


What is the size of int in 64-bit jvm?

1031


What is the list interface in java programming?

1053


Can we synchronize static methods in java?

1052


what is interface in java? Explain

922


What is the r character?

982


Explain the difference between the public, private, final, protected, and default modifiers?

1009