1.

What Is Garbage Collection In Java?

Answer»
  • Garbage COLLECTION is an automatic memory MANAGEMENT feature.
  • The process of destroying unreferenced objects is called Garbage Collection.
  • Once object is unreferenced it is considered as unused object, HENCE JVM automatically destroys that object.
  • In java developers RESPONSIBILITY is only to creating objects and unreferencing those objects after usage.



Discussion

No Comment Found