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 happens if I remove static from main method?

1053


Explain yield() method in thread class ?

1114


What is a control variable example?

1078


What is the symbol for average?

1077


What are the features of java?

1142


How do I print a “?

1051


What is class level lock ?

1080


Can we pass a primitive type by reference in java? How

980


What is the difference between Array and Hash Table?

1079


Is sizeof a keyword in java programming?

1120


What is a default method?

1111


Why java applets are more useful for intranets as compared to internet?

1127


What is an object class?

1073


What is the dot operator?

1062


Can we use both this () and super () in a constructor?

1047