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...

hi to all. well can you please tell me that why String class
is immutable?

Thanks in advance.

Answer Posted / syed

Since, return type of the string class cannot be altered
with substrings or any ammendments to it .

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by global variable?

937


enlist some features of jdk.

943


What are the methods used to implement for the key object in the hash map?

1022


What is the difference between an interface and an abstract class?

987


What is currentthread()?

977


What is an example of a conditional statement?

1027


Which is better 64 bit or 32 bit?

930


Is java a security risk?

1028


What does singleton class mean?

953


What are Normalization Rules? Define Normalization?

1030


Can a variable be local and static at the same time?

989


extending thread class or implementing runnable interface. Which is better? : Java thread

984


In case of inheritance what is the execution order of constructor and destructor?

1109


I want to re-reach and use an object once it has been garbage collected. How it's possible?

1011


How many bytes is a string in java?

972