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
What are the advantages of java inner classes?
What is a function in java?
Why wait and notify methods are declared in object class?
What is the difference between the boolean & operator and the && operator in java programming?
Is math class static in java?
What is an example of a conditional statement?
What is the difference between class forname and new?
What is executor memory?
can rmi and corba based applications interact ?
Define the term string pool?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
What is final method in java?
Difference between keyword and identifier.
What is a Presistent Object?
What is thread count in java?