Determine the meaning of finalize
When a finalize method is defined in a class, Java run time calls finalize() whenever it's about to recycle an object of that class. It's important that a garbage collector reclaims objects in any order or never reclaims them. We can't predict and assure when garbage collector would get back the memory of unreferenced objects.
Garbage collector can be requested to run by calling System.g c () method. It isn't necessary that it accepts request and run.