Java Interview Question #1: What is finalize method?

preview_player
Показать описание
What is finalize method?
============================

1.It is method in the object class.The runtime system calls finalize() method just before garbage collection.
2.It is not intended to be called like a normal method.
3.Any Exception thrown by a finalize method is ignored by the GC thread and it will not be propagated further.
Рекомендации по теме
visit shbcf.ru