What method does Object class have?

The Object class provides a callback method, finalize() , that may be invoked on an object when it becomes garbage. Object ‘s implementation of finalize() does nothing—you can override finalize() to do cleanup, such as freeing resources.

Sizin İçin Seçtik  Kalp ritim bozukluğunu ne tetikler?

Leave a Reply

Your email address will not be published. Required fields are marked *