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 is the advantage of preparedstatement over statement?

559


Which data type is class in java?

547


What are the advantages of user defined functions?

550


Does importing a package imports its sub-packages as well in java?

548


Is space a string in java?

508






What is the difference between object oriented programming language and object based programming language?

552


What is the difference between call by reference and call by pointer?

497


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

8616


How to instantiate static nested classes in java?

561


What is functional interface in java example?

528


Is vector thread safe in java?

554


Can we execute java program without main method?

516


What is a hashmap used for?

640


What is meant by structural programming?

549


What are meta-annotations?

550