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 |
Explain the difference between transient and volatile in java?
What are the different ways of creating thread?
what is object deep copy and shallow copy and why it is required?
Why java is a platform independent? Explain
Can you extend main method in java?
What is empty string literal in java?
Can we create our own wrapper class in java?
Write a program to check for a prime number in java?
What’s the difference between applets and standalone program?
How are Java source code files named?
How to display all the prime numbers between 1 and 100
Difference between operator overloading and function overloading
0 Answers Tavant Technologies, Virtusa,