Can an object?s finalize() method be invoked while it is
reachable?

Answer Posted / janet

While the object is still reachable, an object?s finalize()
method cannot be invoked by the garbage collector.
However, an object?s finalize() method may be invoked by
other objects.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sprintf return?

594


Is array dynamic in java?

489


What is ascii code?

651


What invokes a thread's run() method in java programming?

575


How do you access command-line arguments within the code?

577






What is string pool?

631


What is meant by data hiding/encapsulation?

579


What is meant by call by reference?

521


Explain about fail safe iterators in java?

572


Can we sort arraylist in java?

569


What is the maximum size of hashmap in java?

553


Explain about interthread communication and how it takes place in java?

554


How many bytes are there?

549


What are static methods?

580


What is garbage collection? Can it be forced to run?

549