Posted On: Feb 22, 2018
Java use garbage collection which is performed automatically in Java to free the memory space from unused objects automatically. It is used to identify and dispose those objects that are no longer needed for the application. In other languages like C and C++ you must perform garbage collection by yourself to manage the memory, it means Java provides good memory management.
Never Miss an Articles from us.
In order to load the Java Classes into a virtual environment, Classloader are used. A class loader will load key classe..