File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
MS Khan Khan
Joined: Sep 23, 2003
Sep 23, 2003 15:07:00
why finalize() method is made protected in Object class.plz give a solid logical answer.
Joined: Nov 22, 2008
Sep 23, 2003 16:12:00
finalize can only be called by the object itself and not from outside.
It must be protected that subclasses are able to call the finalize method which the inherited from Object if none is implemented.
why finalize() can't be defined as private?
finally , finalize()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015