Static initialisation blocks

    public static final String name;
    static{
        System.out.println("In the first static block");
        name = "hs";
    }

    public StaticInitilizationBlock() {
        System.out.println("In the class constructor");
    }

    static{
        System.out.println("In the second static block");
    }

    public void printMethod(){
        System.out.println("In the print method");
    }
}