What do you mean by Garbage Collection used in Java?
It is the process through which Java programs perform memory management. When the Java programs run on JVM, objects get created in a part of the memory that is dedicated to program. When objects are no longer needed, the garbage collector finds and deletes them to free up program memory.
BY Best Interview Question ON 13 Jan 2019