What is Garbage Collection and
how to call it explicitly?
When an
object is no longer referred to by any variable, java automatically reclaims
memory used by object. This is known as garbage collection. System.gc() method
may be used to call it explicitly.
Blog Author: Vijay Kumar
No comments:
Post a Comment