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 |
Can a class have an interface?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
what is difference betwwen hashmap and hashtable ?
What is a type parameter in java?
Difference between comparator and comparable in java?
Program to print 1 1 2 1 2 3 1 2 3 4 like that
what are three ways in which a thread can enter the waiting state? : Java thread
How dead lock situation occurs in java and how you can identify it?
What do you mean by exception handling in Java?
what is the difference between abstract class and Interface?where we can use it in realtime projects?
23 Answers Agile Software, Cognizant, IBM, Innodata, Logica CMG, Mitosis, Nagarro, Value Chain,
What is Ideal Design of Class?
Why singleton is not thread safe?