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 the string function?
What is diamond operator in java?
Can an integer be a string?
What is java’s garbage collected heap?
What does business logic mean?
Differentiate between static and non-static methods in java.
What do you mean by local class?
Explain how can you debug the Java code?
Is null false in java?
explain what is transient variable in java?
What is a databasemetadata?
Can I override protected method in java?
What is garbage collector?
What is a stack class in java ?
What is string and example?