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

why String class is immutable.

Answer Posted / rakesh

For save the memory and reduce the response time.
StringBuffer provide an alternet for String class object,
which is muttable.

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we return null in java?

1140


How does thread synchronization occurs inside a monitor?

1094


What are inner classes or non static nested classes in java?

1170


Can we have multiple catch block for a try block?

987


Is java call by reference?

960


What is the lifetime and scope of a variable?

1005


How does finally block differ from finalize() method?

1039


What is udp in java?

965


What is the structure of java?

1018


What is the difference between preparedstatement and statement in java?

1127


How many inner classes can a class have?

1039


What do you understand by abstract classes?

1062


Explain about class in java?

1083


What is the best way to findout the time/memory consuming process?

1024


Can list have duplicates in java?

896