Why do we have the output : S1S2 in this case?
<p>In the code below, the output is : S1S2. Why do we get the that result?</p>

<pre><code> public class S1 {
     public static void main(String[] args) {
         new S2();
     }
     S1(){
         System.out.print("S1");
     }
 }
 class S2 extends S1{
     S2(){
         System.out.print("S2");
     }
 }
</code></pre>
