Intermediate Java
Q58 / 100

What is garbage collection in Java?

Correct! Well done.

Incorrect.

The correct answer is B) The automatic reclamation of memory used by objects no longer referenced

B

Correct Answer

The automatic reclamation of memory used by objects no longer referenced

Explanation

The JVM's garbage collector identifies objects with no live references and frees their memory, so developers don't need to manually deallocate.

Progress
58/100