what is the use of finalize()Method
please explain with an example

Answer Posted / hasan balhabak

to free the resources thar are held by any other objent

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which class represents the socket that both the client and server use to communicate with each other?

578


What is consumer interface?

562


What is meant by class?

547


How do you sort an array in java?

544


What's the difference between an abstract class and interface in java?

565






java Technical questions asked by JPMC

4577


What is an escape character in java?

538


Explain the difference between call by refrence and call by value?

568


What is meant by object?

583


What is a numeric literal?

534


Write a program to show whether a graph is a tree or not using adjacency matrix.

601


What is instanceof keyword?

731


What’s a deadlock?

616


What is the constructor?

586


how can i use a nonsynchronized hashtable?

2112