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 do you mean by formatting?

996


Explain jvm, jre, and jdk?

1017


Which of the following classes will have more memory allocated?

1017


Is null false in java?

1196


Do extraneous variables affect validity?

915


Is an empty arraylist null?

1098


What is finalize method?

1123


What is the size of a string in java?

1015


Is null an object java?

994


Explain thread in java?

1167


What is the importance of finally block in exception handling?

1032


What is default locale java?

1120


What about member inner classes?

1096


What do you understand by copy constructor in java?

932


What is dot operator?

1036