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 the different between get and post?

501


Can we inherit a class with private constructor?

576


Can you inherit a constructor java?

577


What is JDBC Driver interface?How can you retrieve data from the ResultSet

1513


How can we make copy of a java object?

546






How many types of threads are there in java?

504


Why is string class considered immutable?

598


Is java a digit method?

518


What is the default access specifier for variables and methods of a class?

570


Explain about data types?

576


What is a values collection view ?

685


What is the indent key?

592


What is a java lambda expression?

558


Is java hard to learn?

465


What does nextint () do in java?

554