what is meant by string pooling?
Answer Posted / devarathnam
Hi... Basically string pooling is a part of the heap memory
all string literals will be storing in the string pool
memory.
for example: String s1="DEVARATHNAM";// This is a string
literal ,will store in the string pool .
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
What state is a thread in when it is executing?
Is c better than java?
Why pass by reference is not possible in java?
What is compareto () in java?
Name few java util classes introduced with java 8 ?
Why are pointers not secure?
What is a parameter in simple terms?
Can we have return statement in finally clause? What will happen?
What is java argument list?
What is the use of a conditional inclusion statement in Java ?
What is ellipsis in java?
What is module in oop?
What is http client in java?
How does finally block differ from finalize() method?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?