Different Java references
Many java developers are not aware that java has mainly 4 types of references.
1. Strong Reference
2. Weak Reference.
3. ...
Home » Archives for August 2016
Memory Leak and JAVA Code
in
java,
java interview
- on August 26, 2016
- No comments

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