Java / JDK, JRE, JVM, JIT
Explain weak reference type in Java.
Weak Reference are represented using java.lang.ref.WeakReference class and you can create Weak Reference by using following code.
A weak reference is a reference that isn't strong enough to force an object to remain in memory. Weak references allow you to leverage the garbage collector's ability to determine reachability for you, so you don't have to do it yourself.
More Related questions...