What is the purpose of finalization in java programming?
Answer / Narendra Singh Selal
Finalization is a process by which an object's cleanup code is executed before it is garbage collected. It allows for resources like files or network connections to be properly closed.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to Sort Strings which are given in List and display in ascending order without using java api.
Why are the methods of the Math class are static?
What is a "pure virtual" member function?
Why Java is not purely object oriented?
50 Answers Elitecore, Persistent, Reliance, Wipro,
Does any tag exists in HTML to upload and download files ?
Can we declare a static variable inside a method?
What are the legal operands of the instanceof operator?
Why is the type for real numbers called double?
What is difference between an object and a class?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
How to initialize an Applet ?
Explain importance of finally block in java?