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

Answer Posted / kanchan

String are read only and immutable. The StringBuffer class
is used to represent characters that can be modified.
StringBuffer is faster than String when performing simple
concatenations.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you make an arraylist empty in java?

927


What is local class in java?

1091


What is use of functional interface in java 8? Explain

1018


Can we override private constructor in java?

977


Why chararray() is preferred over string to store the password?

1027


Can we define private and protected modifiers for the members in interfaces?

1103


In java, what is the difference between method overloading and method overriding?

1121


What is a variable simple definition?

1020


Can an interface have a constructor?

973


Why is java so important?

1124


What are JVM.JRE, J2EE, JNI?

1101


What is the file type?

1025


Can you access the private method from outside the class?

972


What is character in data type?

961


What is a classloader in java?

1019