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
What is difference between final and immutable?
What are different ways of object creation in java ?
What is jit compiler ?
What is meant by interface?
Is space a char?
What is the purpose of an interface?
Does variable declaration allocate memory?
What is better- service oriented or batch oriented solutions?
What is java console application?
If two threads have same priority which thread will be executed first ?
What is cr keyboard?
What are different types of multitasking?
Is vector synchronized in java?
What language is java written?
Does set allows null in java?