system.gc(); is most effective . and Runtime.getRuntime(); will create runtime variable it will not execute garbage collector method.
Type: Posts; User: RajeshBonepalli; Keyword(s):
system.gc(); is most effective . and Runtime.getRuntime(); will create runtime variable it will not execute garbage collector method.
we can exit from the program or else surely finally will be executed