When i coded this:
public class Animal {
     {
      System.out.println("In instance block");
     }
     static
     {
      System.out.println("In Static block");
     }
      public Animal(){
      System.out.println("In Default constructor");
     }
     public static void main(String[] args) {
      Animal a = new Animal();
     }
    }
The ouput is :
In Static block
In instance block
In Default constructor
The Anonymous block shown in the output is Banging my head.......Please Help me in understanding the output
