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
Explain the significance of class loaders in bootstrap?
Can we override private methods?
When do we need to use internal iteration? When do we need to use external iteration?
If a variable is declared as private, where may the variable be accessed?
What is the main difference between java platform and other platforms?
Difference between static and dynamic class loading.
Does anyone still use java?
Can we create object of inner class in java?
What are passing parameters?
What is java util concurrentmodificationexception?
Can we have a method name same as class name in java?
What is the importance of hashcode() and equals() methods?
What isan abstract class and when do you use it?
Explain differences between collection api and stream api?
What is thread life cycle in java?