What is finalize() method?- | Eklavya Online

What is finalize() method?-

finalize () method is used just before an object is destroyed and can be called just prior to garbage collection