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 happens if constructor is private?

972


What is the difference between error and an exception?

1059


What is difference between identifier and variable?

996


What is json parser in java?

1009


When should I use singleton pattern?

979


What is an iterator interface in java programming?

903


Why parameters should be passed by reference?

911


What is dynamic binding(late binding)?

975


What is the purpose of using break in each case of switch statement?

957


Explain the term virtual machine?

983


What is the difference between iterator and enumeration ?

955


What is the final class?

975


Explain the difference between serializable and externalizable in java?

978


What is numel matlab?

1244


what is the difference between future and callable interface in java?

1145