---
title: "Comment by Sukhvir Kaur on \"06 Java - Memory Management and Garbage Collector\" | Hashnode"
description: "❓ \"Soft Reference is a type of Weak Reference\" — is this correct? ❌ Technically Incorrect While both SoftReference and WeakReference are part of the same refere"
url: "https://hashnode.com/posts/06-java-memory-management-and-garbage-collector/6619025b7e2645a9e7554e1f/comment/685acb7133c25fffd5e45439"
---

[Discussion](https://hashnode.com/posts/06-java-memory-management-and-garbage-collector/6619025b7e2645a9e7554e1f)

Comment [06 Java - Memory Management and Garbage Collector](https://hashnode.com/posts/06-java-memory-management-and-garbage-collector/6619025b7e2645a9e7554e1f)

[Sukhvir Kaur](https://hashnode.com/@sukhdhanota)

[Jun 24, 2025](https://hashnode.com/posts/06-java-memory-management-and-garbage-collector/6619025b7e2645a9e7554e1f/comment/685acb7133c25fffd5e45439)

❓ "Soft Reference is a type of Weak Reference" — is this correct?

❌ Technically Incorrect While both SoftReference and WeakReference are part of the same reference family (i.e., they are subclasses of java.lang.ref.Reference), SoftReference is not a subtype of WeakReference.

✅ Correct Statement: "SoftReference and WeakReference are two different types of non-strong references. Both extend the abstract class Reference, but neither is a subtype of the other."

[Chetan Datta](https://hashnode.com/@chetan77)

[Jul 6, 2025](https://hashnode.com/posts/06-java-memory-management-and-garbage-collector/6619025b7e2645a9e7554e1f/comment/685acb7133c25fffd5e45439#reply-686a77b6cd4c4d79d93bcaeb)

[Sukhvir Kaur](https://hashnode.com/@sukhdhanota) Thanks for catching that! I’ve updated it.
