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

how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

2203


Explain the difference between object state and behavior?

991


Why a client should be multithreading? Explain.

1030


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

2168


How to implement RMI in Java?

2832


How will you pass parameters in RMI? Why do you serialize?

1166


What is ripple effect?

1024


Where can I find seam examples and documentation?

1043


what are the advantages of JTA over JTS?

2143


What is clustering? What are the different algorithms used for clustering?

1003


What is the infobus?

1036


Do we need to override service() method

1655


what are RemoteObjects?

2680


What value does readline() return when it has reached the end of a file?

1031


Is the ternary operator written x : y ? Z or x ? Y : z ?

1049