@@ -0,0 +1,295 @@
+class A%7B%0A   public A() %7B %7D%0A   public A(int i) %7B   System.out.println(i );    %7D%0A%7D%0A//Static will run after class loading %0Aclass B%7B%0A   static A s1 = new A(1);%0A   A a = new A(2);%0A   public static void main(String%5B%5D args)%7B%0A      B b = new B();%0A      A a = new A(3);%0A   %7D%0A   static A s2 = new A(4);%0A%7D%0A

Create orderOfExecution.java