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

Why do we declare a class static?

1049


What is anti pattern in cyber security?

956


What is the difference between serializable and externalizable interface?

1031


what is the volatile modifier for? : Java thread

927


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

1025


What causes memory leaks in java?

872


What is anagram number?

882


What does n mean?

937


What is string english?

958


How does system arraycopy work in java?

1058


What is thread pool? How can we create thread pool in java?

1012


If we don’t want some of the fields not to serialize how to do that?

956


Explain the use of sublass in a java program?

972


What is the largest long allowed by java?

1005


What java ide should I use?

931