finalize() method?

Answer Posted / guest

Every class Inherits the finalize() from
java.lang.class.this method called by Garbage collector
for clean up processing(like Realesing memory Resorces,file
closing,socket closing..) for any unreachble object before
destroing the object .

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us something about set interface.

784


What are the changes in java.io in java 8 ?

781


How big is a 32 bit integer?

786


What is the major advantage of external iteration over internal iteration?

845


What is the difference between a static and a non-static inner class in java programming?

751


What is a function argument in java?

784


Why java is said to be pass-by-value ?

810


How to do encapsulation in java?

837


What is a newline character in java?

802


What is an example of character?

807


Can we declare main () method as non static?

732


What is bool mean?

766


What is hashset in java?

802


What are the supported platforms by java programming language?

832


Is string an object?

881