Answer Posted / srikanth reddy
The purpose of finalization is to give an unreachable
object the opportunity to perform any cleanup processing
before the object is garbage collected.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is Hierarchy of exception?
Explain the difference between collection api and stream api in java8?
Why webdriver is an interface?
What are default methods ?
What purpose do the keywords final, finally, and finalize fulfill?
Is it possible to use string in the switch case?
What is abstraction in java?
What is the purpose of garbage collection in java?
What is use of inner class in java?
What are the topics in core java?
Explain an algorithm to find depth of a binary tree.
How can an object be unreferenced?
What is serialversionuid?
Are true and false keywords?
How to avoid memory leak in java?