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

Can You Have Virtual Functions In Java?

1209


What does java edition mean?

1268


Are arrays static in java?

1112


What is private static class in java?

1067


what is the difference between a threads start() and run() methods? : Java thread

1065


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

1059


Can a static method be final?

1114


Explain about procedural programming language or structured programming language and its features?

1175


Is java call by value?

1139


What are the different types of java?

1114


What is the purpose of using bufferedinputstream and bufferedoutputstream classes?

1126


Which method returns the length of a string?

1100


Can we create an object of static class in java?

1061


What is final variable?

995


What type of variable is error flag?

1141