News

In my previous article, I described how to use Java’s reference objects, SoftReferenceand WeakReference, to build weak references and mark blocks as reclaimable in a simple application.
You might know that Java passes by value, but it helps to understand why. Here's what happens when you pass mutable and immutable object references in Java.