title: How to set the instance to null inside class?
body: <p>I want to create a <code>release()</code> method in my class.
  After calling <code>release()</code>, how can I set that instance to <code>null</code>?</p>
  
  <p>I mean this: </p>
  
  <pre><code>ABC abc = new ABC();
  abc.release();
  if(abc == null) Log.d("That's what I want");
  </code></pre>
  
  <p>then I want to check if <code>abc</code> is <code>null</code>.
  How do I do this?</p>