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 return null in java?

505


What is object cloning in Java?

629


If an object is garbage collected, can it become reachable again?

538


What is the difference between a static and a non-static inner class in java programming?

521


What is runtime locatable code?

859






What is the indent key?

585


What does it mean to flush a file?

564


I don’t want my class to be inherited by any other class. What should I do?

571


When should you use arraylist and when should you use linkedlist?

486


What are the wrapped, classes?

595


Why java is object oriented?

582


Is alive in java?

502


How to create packages in java?

521


What's the purpose of static methods and static variables?

586


What do you know about java?

515