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 between String & StringBuffer

Answer Posted / tashu

1)String class is of fixed length, but stringbuffer class is
of variable length.

2)String class can't insert character or sub string in the
middle of string, but in Stringbuffer class this is possible.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is array a class?

881


What is the purpose of a default constructor?

1034


What is jee6?

1012


Can a final variable be null?

952


How does sublist works in java?

899


What is the history of java?

939


What is stack class in java?

985


Under what conditions is an object’s finalize() method invoked by the garbage collector?

977


Is string is a keyword in java?

931


What is the difference between keyword and identifier?

975


What is immutability in java?

1030


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

927


Does garbage collection occur in permanent generation space in jvm?

1022


What is the difference between a static and a non-static inner class in java programming?

984


What is literal example?

900