SAP Basis Question:
Download Questions PDF

What is the function of garbage collector, explain?

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What are the 2 systems in Solution Manager Landscape?How to assign a object to 100 roles at a time?