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

Is zero a positive integer?

1056


What are new features introduced with java 8 ?

984


Which of the classes will have more memory allocated?

970


Which language is java?

969


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1120


What is merge sort in java?

962


Can a final variable be null?

1009


Which class should you use to obtain design information about an object in java programming?

1062


Why we go for collections in java?

968


What are the important features of Java 9 release?

991


What is the size of arraylist in java?

1015


Can a private method be declared as static?

1013


What is the use of object and class classes?

1037


Convert a BST into a DLL and DLL to BST in place.

1109


Explain access specifiers?

1173