aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes finalize method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "finalize method" Watch "finalize method" New topic
Author

finalize method

Gokulakrishnan Raghuraman
Greenhorn

Joined: Nov 27, 2002
Posts: 10
Is the finalize method invoked atmost once by the JVM for a given object ? and can the finalize method be resurrect the object upon which it has been invoked ?
Thanx
Arpana Rai
Ranch Hand

Joined: Nov 12, 2002
Posts: 93
Originally posted by Gokulakrishnan Raghuraman:
Is the finalize method invoked atmost once by the JVM for a given object ? and can the finalize method be resurrect the object upon which it has been invoked ?
Thanx

Answer to both the Q is "YES".Also,finalize method() can resurrect the object only once.
regds,
Arpana


SCJP1.4(91%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: finalize method