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
Does A Class Inherit The Constructors Of Its Superclass?
What restrictions are placed on method overriding in java programming?
How does compareto work in java?
What is the importance of hashcode() and equals() methods?
What is a finally block? Is there a case when finally will not execute?
How will you reverse a singly-link list?
How is a structure different from array ?
What is r in java?
Is simpledateformat safe to use in the multithreaded program?
In java how do we copy objects?
What is literal example?
What is the purpose of methodology?
Where to store local variables?
What is difference between jdk,jre and jvm?
what do you understand by synchronization? : Java thread