SoftReference vs WeakReference in Java | CodeTrail