what is meant by string pooling?
Answer Posted / gaurav agrawal
dont misguide please, all the string objects created
without new operator are stored in pool which is a space in
memory, if any other object has the same content then a new
object will not be created.
Is This Answer Correct ? | 35 Yes | 2 No |
Post New Answer View All Answers
What is java lang string?
Explain treeset?
What are scriptlets?
Explain restrictions for using anonymous inner classes?
What are multiple inheritances? Is it supported by java?
What is difference between final and immutable?
Why stringbuilder is not thread safe in java?
Why Java doesn’t support multiple inheritance?
How does a for loop work java?
What are the restrictions imposed on method overriding?
What is ph and buffers?
What is the declaration statement?
Why we used break and continue statement in java?
Explain the difference between comparator and comparable in java?
What is the purpose of a default constructor?