Memory Leak and JAVA Code

Memory Leak and JAVA Code
Misuse of java code Java implicitly reclaims memory by GC (a daemon thread). GC periodically checks, if there is any object which is unreachable or to be precise no reference pointing to the same.  If so GC reclaims it's acquired memory. Now...