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 is difference between static and final?
What are parameters in a method?
Is java map thread safe?
How do you convert int to char in java?
What is the basic concept of java?
extending thread class or implementing runnable interface. Which is better? : Java thread
What is difference between class and object in java?
What is java util function?
difference between byte stream class and character stream class?
What is static and final keyword in java?
What is string in java? String is a data type?
enlist some features of jdk.
why not override thread to make a runnable? : Java thread
What is the function of compareto in java?
What are the differences between checked exception and unchecked exception?