DEVFYI - Developer Resource - FYI

What is the purpose of garbage collection?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

328. What is the purpose of garbage collection?

The purpose of garbage collection is to identify and discard objects that are no longer needed by a program so that their resources may be reclaimed and reused.

(Continued on next question...)

Other Interview Questions