a. The operating system periodically deletes all of the java files available on the system
b. When all the references to an object are gone, the memory used by the object is automatically reclaim.
c. Any package imported into a program and not used is automatically delete.
d. None of the above.
b. When all the references to an object are gone, the memory used by the object is Automatically reclaim.
Garbage collector is a form of memory management that checks the memory from time to time and marks the variables or objects not used by the program, automatically. After repeatedly identifying the same variable or object, the garbage collector confirms that the variable or object is not used and hence can be deleted.