Can anybody explain me the flow of below program?
<p>Can anybody explain the below program flow ?    </p>

<pre><code>public class Sample {
    public static void main(String[] args) {
        new OuterClass();
    }
}

class OuterClass {
    private int x = 9;

    public OuterClass() {
        InnerClass inner = new InnerClass();
        System.out.println("2");
    }

    class InnerClass {
        public void innerMethod() {
            System.out.println(x);
        }
    }
}
</code></pre>
