How to send a request to garbage collector?
Yes we can send arequest to garbage collection by writing a simple line of code: System.gc(); OR Runtime.gc(); But it is simply a request not a order to JVM because Garbage collection is JVM dependent