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

. Explain Java String Pool.

Answer Posted / nashiinformaticssolutions

A collection of strings in Java's Heap memory is referred to as Java String Pool. In case you try to create a new string object, JVM first checks for the presence of the object in the pool. If available, the same object reference is shared with the variable, else a new object is created.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between final and immutable?

1088


What are different ways of object creation in java ?

1029


What is jit compiler ?

945


What is meant by interface?

1019


Is space a char?

886


What is the purpose of an interface?

988


Does variable declaration allocate memory?

993


What is better- service oriented or batch oriented solutions?

2157


What is java console application?

952


If two threads have same priority which thread will be executed first ?

1425


What is cr keyboard?

1158


What are different types of multitasking?

917


Is vector synchronized in java?

941


What language is java written?

971


Does set allows null in java?

914