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


Please Help Members By Posting Answers For Below Questions

What is the similarity between dynamic binding and linking?

603


Explain the differences between static and dynamic variables?

581


What are static blocks and static initalizers in java ?

582


How do you remove duplicates in java?

522


What are different data types?

564






What is the epoch date?

566


Are floats faster than doubles?

561


What is a java list?

577


What is collection class in java? List down its methods and interfaces.

524


Is java a compiler?

564


Does .length start 0 java?

562


How use .contains in java?

617


What is a boolean structure?

554


What is javac_g?

590


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

548