Programming Concepts

Garbage collection is best defined as which of the following?

Correct answer

B. An automatic memory management process that reclaims memory occupied by objects no longer in use.

Explanation

Garbage collection refers to an automatic memory management process that reclaims memory occupied by objects no longer in use.