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 is linked hashset and its features?
What is a lock or purpose of locks in java?
Can a function return a function?
How do you trim a space in java?
What is nan in java?
What does t in java mean?
What state is a thread in when it is executing?
What is string pool in java?
Why is java so important?
Describe how to implement singleton design pattern in struts.
Can a constructor be protected?
How do you use compareto method?
Can we use string in switch case in java?
Why is java logo a cup of coffee?
What are constants and how to create constants in java?