Can an unreachable object become reachable again?
Answers were Sorted based on User's Feedback
Answer / shadow
An unreachable object may become reachable again. This can
happen when the object's finalize() method is invoked and
the object performs an operation which causes it to become
accessible to reachable objects....!
CHHAYA
Is This Answer Correct ? | 10 Yes | 1 No |
Answer / 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 |
Is it possible to write method inside method
How do you compare two strings lexicographically?
What is member in java?
What do you mean by formatting?
why java does not have operator overloading?
How to prevent to create multiple objects of a java class?
What is an abstract class and abstract method?
What does the “static” keyword mean?
What is singleton class in ruby?
Which non-unicode letter characters may be used as the first character of an identifier?
What is an example of a conditional statement?
Why main method is called first in java?