. Explain Java String Pool.
Answer / 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 |
Does java runtime require a license?
How do you add an element to an arraylist in java?
Why java does not supports multiple inheritance?
WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?
Is it possible for a yielded thread to get chance for its execution again?
What is communist flag?
Can we access instance variables within static methods ?
What are static blocks in java ?
What is an object class?
How to avoid memory leak in java?
How large is a boolean?
What is the reason that multiple inheritance is not possible in java??