Debajyoti Nath

Greenhorn
+ Follow
since Feb 06, 2006
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Debajyoti Nath

As far as i know, yes, it will run atleast once if the JVM attempts garbage collection.
But since you cannot guarantee that the object 'will' be garbage collected, since garbage collection cannot be forced, so there is no guarantee that finalize() will run even once.