The static variables are initialized at class load time during compilation and non static variables are initialized just before the constructor is called.