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 stringBuffer and StringBuilder?

Answer Posted / srinu

StringBuffer:-
1)All methods in String Buffer class are Synchronized.
2)Performance is slow because these are synchronized.

StringBuilder:-
1)StringBuilder class methods are not synchronized.
2)performance is faster.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a java object message delivered to a non-java client?

1052


What is the infobus?

1093


What class is the top of the awt event hierarchy?

1113


Explain ioc concept?

1146


how to use debug in my elipse to solve problems that exist in my project

2282


Why are my checkboxes not being set from on to off?

1138


When is the best time to validate input?

1105


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

2148


What are the purpose of introspection?

1220


What is scalable, portability in the view of J2EE?

2529


How substring() method of string class create memory leaks?

1046


Can I use javascript to submit a form?

1149


What is the purpose of the wait() method?

1201


Is the ternary operator written x : y ? Z or x ? Y : z ?

1114


Explain the steps in details to load the server object dynamically?

5108