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

Answers were Sorted based on User's Feedback



Difference between the String and StringBuffer classes?..

Answer / anitha

yes, String is a immutable that means once the string
object is created it cannot be changed.

String Buffer: it is a mutable,this object is changed if we
make any modifications.

Is This Answer Correct ?    8 Yes 0 No

Difference between the String and StringBuffer classes?..

Answer / sathya

String class is immutable i.e oncle created the value
cannot chage.

Stringbuffer class is mutable.The value can change.

Is This Answer Correct ?    5 Yes 0 No

Difference between the String and StringBuffer classes?..

Answer / latha

String is immutable and StringBuffer is mutable as most of
we know. In performance, StringBuffer is faster than the
String while performing simple concatenations.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Core Java Interview Questions

Difference between JVM and JRE?

3 Answers   Amdocs,


Is java code slower than native code?

0 Answers  


What do you mean by hashing?

0 Answers   Amazon,


Can we define a package statement after the import statement in java?

0 Answers  


What is the length of a string?

0 Answers  


Can a class have more than one object?

0 Answers  


Java.util.regex consists of which classes?

0 Answers  


wht is customised exception?

1 Answers   Logica CMG, Novell, Prudential,


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

0 Answers  


What is a constructor, constructor overloading in java?

0 Answers  


we have a 100 classes at that time which class we have to write main method? pls help me

6 Answers   Wipro,


What are 5 boolean operators?

0 Answers  


Categories