Wipro interview question

What is garbage collection in java

Interview Answer

Anonymous

Sep 9, 2018

Java has an inbuilt garbage collector which at the end runs the entire program and removes empty packages, redundant codes and unused variables.