SAP Basis Question:

What is the function of garbage collector, explain?

Tweet Share WhatsApp

Answer:

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.

Download SAP Basis PDF Read All 21 SAP Basis Questions
Previous QuestionNext Question
What are the 2 systems in Solution Manager Landscape?How to assign a object to 100 roles at a time?