. 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 does percent mean in java?
How are this() and super() used with constructors?
How many decimal digits is 64 bit?
What is the difference between notify and notifyall method?
Does java trim remove newline?
What methods are called, When we navigate from one applet to another applet?
How many types of memory areas are allocated by jvm?
Using callable statement how can you pass out parameters, explain with example?
Why do we need singleton class?
What is a lock or purpose of locks in java?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is java object name?