Question { 4099 }
What Is Resource Leak?
Answer
Garbage Collection (GC) in Java will relieve you from the
mundane duties of allocating, tracking, and freeing the
heap memory. Indeed, the promise has been delivered, so it
is reasonable -- and to quite an extent correct -- for you
to conclude that there will be no memory leaks in your Java
program. However, the catch is that GC can take care of
only typical heap management problems.