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

Why use a datasource when you can directly specify a connection details? (in a J2EE application)

4275


Name three subclasses of the component class?

1110


What is the difference between session and entity beans?

1116


What is jboss?

1038


What is the highest-level event class of the event-delegation model?

1100


difference between  ejb,struts,hibernate,spring and jsp

2873


What is permgen or permanent generation?

1028


How are commas used in the intialization and iteration parts of a for statement?

1097


What is the purpose of the wait() method?

1201


What are transaction attributes?

1111


What’s jboss cache in short?

1123


What are JTA/JTS and how they used by client?

2222


What are the types of scaling?

1090


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

3007


What is message driven beam?

1070