Object Creation in JVM
<pre><code>public class B extends A{

    // code goes here
}

public class C extends B{
    public void method1(){
       C c = new C();
    }
}
</code></pre>

<p>Since C is extending B which in turn is extending A ,when I create object of C how many objects will be created in JVM .</p>
