What is finalize() function in java?
Answer / Ankit Singh
The `finalize()` method in Java is a protected method that gets called by the garbage collector when an object is about to be destroyed. It provides a chance for the programmer to release any system resources held by the object before it is deleted.
| Is This Answer Correct ? | 0 Yes | 0 No |
I dont want to use serialzable in java is there any another concept so plz tell me
What is the difference between overriding & overloading?
What is the base class for error and exception?
What class allows you to read objects directly from a stream?
Java is based on pass by reference or pass by value ..
Explain different data types in Java.
What is isa relationship?
how to use crystal reports in java
What do you mean by multithreaded program?
Is null a string?
How to add and remove nodes in Jtree?
How to find the length and capacity of a string buffer ?