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

What are the names of interfaces that doesn't consists of method/s ?

3 Answers  


What is "this" keyword in java? Explain

0 Answers  


What is a line break example?

0 Answers  


Why all programming languages have main as a execution starting point?

4 Answers  


What is assembly condition codes?

0 Answers  


Explain differences between checked and unchecked exceptions in java?

0 Answers  


What do you mean by a JVM?

0 Answers   GE,


Why strings in java are called as immutable?

0 Answers  


How big is a pointer?

0 Answers  


What is a boolean structure?

0 Answers  


What is the difference between an if statement and a switch statement?

0 Answers  


What is a class object?

0 Answers  


Categories