0 votes
by (1.1k points)

1 Answer

0 votes
by (1.6k points)
selected by
 
Best answer

Its a special method called automatically during the destruction of an object. It helps in recovering the heap space allocated during the lifetime of an object and closing file or database connections also releasing network resources

Welcome to CodersEditor Q&A, where you can ask questions and receive answers from other members of the community.
...