What are the scenarios in which case a new class will be loaded?
<p>That is when you have any jar file attached to you your class path. then as far as i know any class from the jar is loaded for the first time when,</p>

<ol>
<li>when you create any object of that type. or </li>
<li>If you are accessing any static member or method of that class. or</li>
<li>when you load that by using Class.forName() method.</li>
</ol>

<p>So are there any other ways of loading a class for the first time?</p>
