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

What is a modular application? What does module-relative mean?

1118


Name three subclasses of the component class?

1158


what are getters and setters in Java with examples?

1833


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

2393


Can I run seam outside of jboss as?

1112


What is the purpose of the notifyall() method?

1091


Where can I ask questions and make suggestions about seam?

1112


What is a policy?

2351


Should synchronization primitives be used on bean methods?

1112


Explain the different types of memory used by jvm?

1194


What are local interfaces? Describe.

1304


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2831


Explain the difference between object state and behavior?

1115


What are the diff types of exception?

1115


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

1124