Can an unreachable object become reachable again?

Answer Posted / niranjanravi

Yes, an unreachable object may become reachable again.This
happens when the object's finalize() method is invoked and
the objct performs an operation which causes it to become
accessible to reachable objects.

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist few advantages of inheritance?

588


Can an object subclass another object?

558


Give reasons supporting that string is immutable.

500


What is ascii code?

645


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

593






What are data structures in java?

535


How many threads can java run?

563


Can we override private method?

560


What are the four integer types supported by java?

566


Why is java called the platform independent programming language?

580


What is byte code and why is it important to java’s use for internet programming?

600


What is use of super keyword?

569


Why do we need autoboxing in java?

523


How do you avoid global variables?

545


What is return used for in java?

524