Can an unreachable object become reachable again?

Answers were Sorted based on User's Feedback



Can an unreachable object become reachable again?..

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

Can an unreachable object become reachable again?..

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 an unreachable object become reachable again?..

Answer / desai.ankita0422@gmail.com

never

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are abstract classes and anonymous classes?

0 Answers   Flextronics, Thomson Reuters, Virtusa,


What is meant by structural programming?

0 Answers  


Can we instantiate interface in java?

0 Answers  


Why are getters and setters used?

0 Answers  


What modifiers are used with a top level class?

3 Answers  






What is the difference between throw and throws?

10 Answers   IBM,


can rmi and corba based applications interact ?

0 Answers  


What is collection api?

0 Answers  


What do you mean by of string::valueof expression in java 8?

0 Answers  


Hi Friends, can you give difference between extending thread class and implementing runnable interface.

4 Answers  


What is string and its types?

0 Answers  


What are access specifiers in java ?

0 Answers   Akamai Technologies,


Categories