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

String is immutable.it is true
String can be change to mutable How?

Answer Posted / prathap

Because of String pooling String is immutable. Using StringBuffer we can change it as mutable. i.e.,This string literal reference is assaigened to StringBuffer object
Eg : String s="java";
     StringBuffer sb= new StringBuffer(s);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I import same package/class twice? Will the jvm load the package twice at runtime?

1198


which book is better for jdbc ,servlets and jsp

2144


Which container method is used to cause a container to be laid out and redisplayed?

1188


What are local interfaces? Describe.

1307


What is the infobus?

1138


wahts is mean by dynavalidatorform in struts/

2122


What is a sessionfactory? Is it a thread-safe object?

1265


Explain ioc concept?

1200


How substring() method of string class create memory leaks?

1100


Explain the steps in details to load the server object dynamically?

5146


what is handle?

2422


How can I scroll through list of pages like the search results in google?

1012


What does module-relative mean?

1233


how i secure my site with the https protocol.what are the steps?

2393


What is the map interface?

1176