Answer Posted / harika.thota001@gmail.com
Before an object is garbage collected, the runtime system calls its finalize() method. The intent is for finalize() to release system resources such as open files or open sockets before getting collected.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we create an object of static class in java?
When should the method invokelater() be used?
What is exception handling in java?
Why do we need singleton class?
What is mysql driver class name?
Differentiate jar and war files?
What is the applet security manager, and what does it provide?
Can a constructor be made final?
What is initial size of arraylist in java?
What is qualitative variable?
What are the features of java?
How to create an interface?
How to retrieve data from database in java using arraylist?
What is the use of isempty in java?
How we can execute any code even before main method?