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

When a thread blocks on i/o, what state does it enter?

1153


Are there books about seam?

1157


What is the difference between the string and stringbuffer classes?

1155


How are the elements of a cardlayout organized?

1130


What is the purpose of the notifyall() method?

1091


What is TL and its use?

2545


What is the relationship between an event-listener interface and an event-adapter class?

1179


What is the RMI and Socket?

1095


Do you think that java should have had pointers?

1122


how i secure my site with the https protocol.what are the steps?

2388


Explain what is orm?

1147


What value does read() return when it has reached the end of a file?

1076


How task's priority is used in scheduling?

2337


Can you control when passivation occurs?

1117


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

2249