title: How does the ReferenceQueue works in Java?
body: <p>How does the ReferenceQueue works? and How to use it on Projects?</p>
  
  <p>Documents said: When a WeakReference or SoftReference has been cleaned, they will be enqueue the ReferenceQueue. What does that do this?</p>