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

Compare Mutex and Semaphore in java.

0 Answers   Ciena,


Can you pass functions in java?

0 Answers  


What is final access modifier in java?

0 Answers  


can any one tell me what is advantage of encapsulation

2 Answers  


What about instanceof operator in java?

0 Answers  


What is unmodifiable list in java?

0 Answers  


What is static synchronization?

0 Answers  


What is oop in java?

0 Answers  


How to create an immutable class?

0 Answers  


What is the Scope of Static Variable?

0 Answers   Verifone,


what do you mean by classloader?

0 Answers  


v-model life cycle

0 Answers   Virtusa,


Categories