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 / kirthika

everytime a string object is created, it enters into the string pool and thereby this concept was mainly to enhance the response time if the same string is used elsewher..
therefore string class is immutable..

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of constructors are used in java?

1108


What is difference between classpath and path variables in java?

1143


How do you reverse sort a list in java?

900


What is mutable object and immutable object?

1090


Does treeset allow null in java?

915


What do you mean by flow of struts?

1233


give an example for encapsulation?

1000


How do you detect memory leaks?

1012


How many types of methods are there in java?

959


What is meant by class and object in java?

979


Can you inherit a constructor java?

1027


How to display names of all components in a Container?

2892


Can we create a class inside a class in java?

1003


What does string intern() method do?

1051


Is java an open source?

933