posted 15 years ago
Instance variables are initialized when instance of the class is created.
The static block is executed when the class is loaded by the JVM.
Loading the class means Class Loader Application loads the class over the
memory to be used.
Go through Class Loader, Dynamic Class Loading, in "Thinking In Java", By
Bruce Eckel. He has described in really very good way.