Java Garbage Collection Question and Answers
5. | What is the purpose of finalization? |
---|---|
The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected. | |
6. | What do you know about the garbage collector? |
---|---|
|
|
7. | What is the difference between serial and throughput garbage collector? |
---|---|
|
|
8. | What is final, finalize() and finally? |
---|---|
|
|