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

How do you use parseint in java?

716


When is the arraystoreexception thrown?

774


What do you understand by java virtual machine?

926


Which is a valid identifier?

773


What is native method in java?

788


What is the difference between char and char *?

769


Explain about method local inner classes or local inner classes in java?

777


What is the use of singleton?

725


What does split function do in java?

755


What is the synonym of framework?

755


What is a marker interface?

825


What does the string method compareto () do?

770


What are access specifiers available in java?

798


Why string is a class?

730


Why stringbuilder is not thread safe?

772