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
How do you break a loop?
What is the destroy method?
What is a byte array?
Explain about anonymous inner classes ?
What is a method header?
How do you add an element to a hashset in java?
What happens if a constructor is declared private?
What is a blocking method in Java?
What is a platform?
Explain about map interface in java?
What is meant by class loader? How many types are there? When will we use them?
What data type is true or false?
What is called module?
Explain some best practices you would apply while using collection in java?
What is skeleton and stub? What is the purpose of those?