Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

finalize method

 
Gokulakrishnan Raghuraman
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic