how to use finalize()Method to resources

Answer Posted / sakthivel(gceb)(n.p)pollachi

finalize is one of the keyword in java.if you once declare
a method is final it can not be derived from another
class.you can use them in the form of finalize function name
()

Is This Answer Correct ?    6 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do extraneous variables affect validity?

528


What does a boolean method return?

636


What is a class in java?

582


Can we compare two strings in java?

567


Why are constructors used?

562






What is the definition of tree ?

593


What is callablestatement? How you can call stored procedure to pass in parameter?

547


what is the use of bean managed and container managed with example?

1506


What is the difference between member variables initialization and assignment in a constructor?

669


What technique is carried out to find out if a particular string is empty?

578


What is the difference between abstract classes and interfaces?

521


Which is illegal identifier in java?

594


What is the use of predicate in java 8?

496


What is a double?

593


How many bytes is a string java?

537