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...

Difference between String & StringBuffer

Answer Posted / kunal chwala

It means that we cant change the content of String once created. If we try append a new string using + operator
then it creates new String object.
ex.

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a default constraint?

1013


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

1072


How do you use find and replace?

895


Is a copy constructor?

997


Define array. Tell me about 2-D array.

996


What is the difference between && and & in java?

1023


What does a boolean method return?

1138


Can you inherit a constructor java?

1016


What do you know about the garbage collector?

1046


What is the purpose of file class?

961


Is oracle charging for java?

965


What is the purpose of extern variable?

962


What is java util?

972


What is the super void?

840


What about static nested classes in java?

1073