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

Why char array is favored over string for the storage of passwords?

0 Answers  


Define jre i.e. Java runtime environment?

0 Answers  


Give us a program to check for parenthesis matching using stack.

0 Answers   Genpact,


What is thread priority?

1 Answers   Tech Mahindra,


How do we make a class serialize?

3 Answers   Syntel,


What is the list interface?

0 Answers  


State some situations where exceptions may arise in java?

0 Answers  


What is mvc in java?

0 Answers  


Is class is a data type?

0 Answers  


what is a package?

11 Answers  


What is diamond operator in java?

0 Answers  


What is a thin-client application?

5 Answers   Adobe,


Categories