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 if I write static public void instead of public static void in java?
How does thread synchronization occurs inside a monitor?
how does multithreading take place on a computer with a single cpu? : Java thread
What is boolean flag in java?
How we can run a jar file through command prompt in java?
When is the finally clause of a try-catch-finally statement executed?
Why there is no call by reference in java?
What an i/o filter?
Is java hard to learn?
Explain about main thread in java?
What is treemap in java?
What is the size of boolean variable?
What are data types in programming?
Can we sort a map in java?
Is class forname reflection?