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

Explain exception chaining in java?

1220


What is java and its types?

1163


How much ram can a 64 bit processor theoretically?

960


Can you use this() and super() both in a constructor?

1034


Which containers use a flowlayout as their default layout in java programming?

1056


Can we serialize singleton class?

1084


What is runtime polymorphism or dynamic method dispatch?

1044


What are the object and class classes used for?

1087


Is a case study a method or methodology?

947


What is string in java? String is a data type?

1058


How do you override a private method in java?

1027


What is an argument in java?

982


what do you understand by the term string with respect to java?

1098


What are use cases?

1013


What is the output of the below java program?

1093