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 happens if constructor is private?
What is the difference between error and an exception?
What is difference between identifier and variable?
What is json parser in java?
When should I use singleton pattern?
What is an iterator interface in java programming?
Why parameters should be passed by reference?
What is dynamic binding(late binding)?
What is the purpose of using break in each case of switch statement?
Explain the term virtual machine?
What is the difference between iterator and enumeration ?
What is the final class?
Explain the difference between serializable and externalizable in java?
What is numel matlab?
what is the difference between future and callable interface in java?