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

what is meant by string pooling?

Answer Posted / sivadasan

See,

String s = new String("Shiva");

Its creating two instances and one reference.

In the Two instance one is stored in Constant pool and
another one is stored in temp' pool.

What about String s = "Shiva";

Anybody can, pls clarify...

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array pointers ?

1017


What modifiers may be used with an inner class that is a member of an outer class in java programming?

1090


What is jit compiler ?

974


What is a void in java?

1156


What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?

1108


How do I get 64 bit java?

1087


Can we access the non-final local variable, inside the local inner class?

1015


How can we pass argument to a function by reference instead of pass by value?

1105


explain multi-threading in java?

1021


What are latest features introduced with java 8?

1069


What is json parser in java?

1051


What are the two types of java programming?

1053


What is the difference between normal report & matrix report?

1100


How do you check whether the list is empty or not in java?

972


How much ram can a 64 bit processor theoretically?

880