Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
Garbage Collection Doubts
Shakul Jugran
Greenhorn
Posts: 5
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I have a few doubts regarding Garbage Collection:
Q. What will happen if an Exception occurs during finalize()? Will it proceed normally or will the processing terminate?
Campbell Ritchie
Marshal
Posts: 79179
377
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Try it. Create a class with "throw XYZException;" in its finalize() method and see what happens.
You would be much easier to understand if you took that bucket off of your head. And that goes for the tiny ad too!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
what is the difference between local garbage collection and remote garbage collection
i passed with 81%
gc ??
Return values of methods
Tech Word Game
More...