what is meant by string pooling?

Answer Posted / devarathnam

Hi... Basically string pooling is a part of the heap memory
all string literals will be storing in the string pool
memory.
for example: String s1="DEVARATHNAM";// This is a string
literal ,will store in the string pool .

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of javac exe?

799


What is boolean in java?

714


How is java created?

739


What is difference between adapter class and listener?

726


What are advantages of using Java?s layout managers than windowing systems?

2105


How to sort double array in java?

797


What are the various access specifiers for java classes?

813


How many bits is a double?

770


Explain constructors and types of constructors in java.

849


What does the “static” keyword mean?

840


Explain about fail safe iterators in java?

806


Is singleton class thread safe?

765


What is java command?

806


What is the default execution method in java?

879


Explain the difference between treeset and treemap in java?

774