Garbage collection in java- mementotech

Why choose java??
What is garbage collection???

In Java destruction of object from memory is done automatically by the JVM. When there is no reference to an object, then that object is assumed to be no longer needed and the memory occupied by the object are released. This technique is called Garbage Collection. This is accomplished by the JVM.

Unlike C++ there is no explicit need to destroy object.

This do automatically no need to do developer anything
automatically memory release

Post a Comment

0 Comments

Recent in Recipes

3/Food/post-list