. 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 |
What is string :: npos?
what is marker interface ? what is the necessity of it?
As a developer what steps do you take to improve the performance?
What are 3 boolean operators?
What does java se mean?
what is Vector class?
what is finalmethod & final variable with example?
What does index mean in java?
How do you compare two strings? any predefined method for this?
What do you mean by buffering?
How does varargs work in java?
What is an array length?