JAVA References And Garbage Collection

JAVA References And Garbage Collection
Different Java references Many java developers are not aware that java has mainly 4 types of references. 1.       Strong Reference 2.       Weak Reference. 3.      ...

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...