Consider the following example:
public class Constructor
{
     Constructor(int i)
     {
            System.out.println(i);
     }
}
public class Test
{
       Constructor c1 = new Constructor(1);
       Constructor c2 = new Constructor(2);
       public static void main(String[] args)
       { 
           new Test();
       }
}
This outputs:
1
2
Please explain why this happens and whether this behavior is consistent.
 
    