Answer Posted / javadreams
String objects are immutable and are placed in a different
pool called as String constant pool. So whenever users try
to create new string object jvm looks out for this pool and
returns the reference for the string object.
So this could be one of the means of getting access to
unreachable string object .
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Will minecraft java be discontinued?
Is string a wrapper class?
explain autoboxing in java?
What is singleton math?
Explain jdk, jre and jvm?
what is function overloading in java?
How does singleton class work?
What is meant by method overriding?
Why java is considered dynamic?
Can we sort list in java?
What is a void in java?
What is tostring () method?
What about anonymous inner classes in java?
Is alive method in java?
What is the use of optional ?