Garbage collection

Java provides automatic garbage collection that cannot be controlled by the programmer. It doesn’t provide the methods like delete() and free() to free the memory.

However, due to the various disadvantages, Java is one of the most used programming languages due to its advantages, making it platform-independent, secure and a robust programming language.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *