• Post Reply Bookmark Topic Watch Topic
  • New Topic

Finalize in JAVA

 
Anurag Dhiman
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I can not understand that how finalize() method will works in java. Please anybody can guide me by an example code using finalize?



Thanks in advance
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
finalize(), as the name indicates, is final and not open for any kind of discussion*
Taken from "100 most likely interview questions (how to get jobs without actually knowing how to code)" Lawrence Jamieson and Freddy Benson
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!