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

What is procedure writing?

507


If I only change the return type, does the method become overloaded?

535


What are the basic concepts of OOPS in java?

564


What is percentage in java?

565


What are the methods used to implement for the key object in the hash map?

559






Why does java not allow multiple public classes in a java file ?

3425


Difference between string, stringbuffer and stringbuilder?

562


what are abstract functions?

555


How large is a boolean?

549


Write a program to print all permutations of string?

671


What is string substring?

554


Which package is imported by default?

623


Does java support Operator Overloading?

603


Justify your answer that you can't define a method inside another method in java, if you can then how?

597


What is package protected in java?

518