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 and String Buffer?

Answer Posted / janet

1. String objects are constants and immutable where as
StringBuffer objects are not.
2.String class supports constant strings where as
StringBuffer class supports growable and modifiable strings.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you avoid serialization in child class if the base class is implementing the serializable interface?

1022


What is regex used for?

940


What are the different types of data structures in java?

939


Why are generics used?

909


What is the purpose of a transient variable?

1000


What is hash in java?

900


Tell me a few examples of final classes defined in Java API?

1015


Is age a discrete variable?

917


What is a variable in java?

1035


What is the difference between actual and formal parameters?

893


What is the buffer limit?

981


What is a blocking method in Java?

1130


What are the types of literals?

1085


What method is used to specify a container's layout in java programming?

1046


What are the rules for variable declaration?

908