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

Answer Posted / madhu

string is imutable and stringbuffer is mutable

Mutable means storing location is same
Imutable means storning location is different

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is boolean used for?

1087


What are the states of thread in java?

1033


Why char array is preferred over string for storing password?

1151


Is an object null?

1026


Explain the use of shift operator in java. Can you give some examples?

1033


What is variable in java?

1043


Can a class be protected in java?

1010


How does indexof work?

1011


What are the different data types in java?

1046


What do you mean by jjs in java8?

1060


What happens when a thread cannot acquire a lock on an object in java programming?

1071


What is java util hashmap?

1029


What is a local class in java?

1084


Explain scope or life time of local variables in java?

1075


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

1216