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

How database connectivity in XML is achieved?

2249


Java is fully object oriented languages or not?

1023


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

1247


Can I run seam outside of jboss as?

1081


Can I have an action without a form?

1115


Why is string immutable in java?

1104


Do we need to override service() method

1738


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1048


What method is invoked to cause an object to begin executing as a separate thread?

1044


If your ui seems to freeze periodically, what might be a likely reason?

1045


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

1058


What is the relationship between an event-listener interface and an event-adapter class?

1136


What is RMI and what are the services in RMI?

1179


how do you Handle Front End Application data against DB with example?

1989


What is the difference between the session.get() method and the session.load() method?

1092