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

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

1134


Can you extend main method in java?

1119


What is static block?

1076


How to run a JAR file through command prompt?

1225


How does system arraycopy work in java?

1067


What is a modifier?

1441


What are the java ide's? Explain

981


What is compiler and what its output.

1091


How do weakhashmap works?

1105


Explain a situation where finally block will not be executed?

980


How do you sort in ascending order in java?

829


What is difference between arraylist and list in java?

1032


What is the purpose of void class?

1019


How to sort an array from smallest to largest java?

953


What is this keyword used for?

1080