. Explain Java String Pool.
Answer / nashiinformaticssolutions
A collection of strings in Java's Heap memory is referred to as Java String Pool. In case you try to create a new string object, JVM first checks for the presence of the object in the pool. If available, the same object reference is shared with the variable, else a new object is created.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is run time polymorphism?
6 Answers eClerx, Elementus Technologies,
Which is not Object in Java?
What is final keyword in java?
What is final method?
What are the names of Component subclasses that support painting?
Can we nested try statements in java?
What are heterogeneous objects?
when to use ArrayList and when to use HashMap in webApplication.
Which sort is best in java?
Difference between overloading and Overriding. <Giving a confusing example to test the concept.> (also asked in PA Consultancy Group,iflex,Value chain,IBM,CTS,Accenture, Tarang>
12 Answers Accenture, CTS, Extensio, IBM, iFlex, PA Consulting, Symphony, Tarang,
Write an algorithm for quick sort?
Which Component subclass is used for drawing and painting?