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 the difference between String and StringBuffer classes?

Answer Posted / kishore cheruku

a) String objects are constants and immutable whereas StringBuffer objects are not. b) String class supports constant strings whereas StringBuffer class supports growable and modifiable strings.

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by flow of struts?

1226


What is the use of string and stringbuffer?

938


Does java allow overriding static methods ?

1057


How does java enable high performance?

1091


What is classname class in java?

992


What is the difference between Grid and Gridbaglayout?

1145


Does java runtime require a license?

982


What are parameters in a method?

1040


How do I type unicode?

910


How do you reverse a word in java?

998


How does hashset work in java?

1061


Where is singleton pattern used?

935


Where pragma is used?

992


How to display arraylist values in java?

957


How to reverse a string in java?

999