What is the purpose of finalization?

Answer Posted / srikanth reddy

The purpose of finalization is to give an unreachable
object the opportunity to perform any cleanup processing
before the object is garbage collected.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by platform independence of Java?

531


please send me hr interview questions in it industry

1659


What is autoboxing and unboxing?

577


What is identifier give example?

549


What is the difference between ArrayList and Vector? which one is better in Java

603






How do you use compareto?

547


Can a class declared as private be accessed outside it’s package?

510


Can singleton class be cloned?

558


What does 3 dots mean in java?

514


What's the difference between comparison done by equals method and == operator?

541


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

539


If two threads have same priority which thread will be executed first ?

842


What do you mean by object?

546


What is java algorithm?

521


What is the abstraction?

587