When  does a class unload from heap memory
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/148681/unloading-classes-in-java">Unloading classes in java?</a>  </p>
</blockquote>



<p>When does a class unload from memory?</p>

<p>For loading a class we can call <code>Class.forName("NameOfClass");</code> or when we create an object of a class, then the class loaded into memory.</p>
