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 / rohit kumawat

String class actually kept immutable by developers of "Sun
microsytems" because of you use it in desktop application
not for mobile application where memory is short & less to
work

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a function argument in java?

1043


do I need to use synchronized on setvalue(int)? : Java thread

1052


Can we have a method name same as class name in java?

1098


what is predefined function in java?

1027


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

1086


What is the covariant return type?

1159


What are white spaces in java?

1122


What is Gang of four design patterns

1111


Can we write a class without main method in java?

998


What is the purpose of skeleton and stub?

1349


Write a program in java to find the maximum and minimum value node from a circular linked list.

1147


Why we use methods in java?

1046


Why stringbuilder is not thread safe in java?

1064


Why do we create threads in java?

1343


What is java string pool?

1057