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?

Answers were Sorted based on User's Feedback



what is the difference between String and StringBuffer classes?..

Answer / 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

what is the difference between String and StringBuffer classes?..

Answer / tarun choudhary

The String class is used for strings that are not allowed to change. The StringBuffer class is used for strings that may be modified by the program.

Is This Answer Correct ?    15 Yes 0 No

Post New Answer

More Core Java Interview Questions

how can u handle run time exception in java? explain with brief explanation with examples?

2 Answers   CTS,


List implementations of list interface?

0 Answers  


Can vector have duplicates in java?

0 Answers  


Can an object be null?

0 Answers  


How to convert string to byte array and vice versa?

0 Answers  


How can you share data between two thread in Java?

0 Answers  


Which are thin and thicK wrapper Class's in Java?

1 Answers  


Tell me the Importent classes in net package?

0 Answers  


Which are different kinds of source code?

0 Answers  


Is hashset ordered?

0 Answers  


Difference between a MenuItem and a CheckboxMenuItem?

1 Answers  


How variables are declared?

0 Answers  


Categories