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 / sharief

Yes,String is immutable.The simple meaning of immutable is
unmodifiable or unchangeable.once String object has been
created,its value can not be changed.
The Reason is java uses concept of String literal.Suppose
there are 5 reference variables,all referring to an object
called "Ronaldo".If one reference variable changes the value
of the object,it will be affected to all the reference
variables.That is why String objects are immutable in java.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s jboss cache in short?

1098


Name the class that is used to bind the server object with RMI Registry?

2150


what is Activation Instantinator?

2425


Will the general public have access to the infobus apis?

1038


Do you think that java should have had pointers?

1037


How is a java object message delivered to a non-java client?

1037


Why does the tag url-encode javascript and mailto links?

990


How are the elements of a borderlayout organized?

1097


What modifiers may be used with an inner class that is a member of an outer class?

1051


Describe activation process?

2646


What restrictions are placed on the values of each case of a switch statement?

1000


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

1071


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

1026


Is the infobus client side only?

1097


What is message driven beam?

1054