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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use spaces in java?

1035


How strings are created in java?

1082


How do you check if two given string are anagrams?

1001


Tell me about your ability to work under pressure

2246


What is the common usage of serialization? What exceptions occur during serialization?

1192


Difference between vector and arraylist.

1178


What does it mean that strings are immutable?

1182


Why is java logo a cup of coffee?

1250


Is a string literal?

1207


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

2178


Explain static nested classes ?

1168


What is vector?

1120


Explain constructors and types of constructors in java.

1177


How to compare two strings in java program?

1097


How to overcome the exception object reference not set to an instance of object?

1202