What is the function of garbage collector, explain?

Submitted by: Administrator
garbage collector automatically frees the variables and objects from the memory when they are not in use. user program can't directly free the object from memory instead it is the job of garbage collector to automatically free the objects which are no longer referenced by the program.every class inherits finalize() from java.lang.Object finalize() is called by garbage collector when it determines no more reference to object exist.
Submitted by: Administrator

Read Online SAP Basis Job Interview Questions And Answers