Garbage
Collector is used to destroy the useless objects. Generally java programmer is
responsible to create object but programmer is no need to delete the object
after usage. JVM will call the Garbage collector and it is responsible to
delete that object.