posted 14 years ago
Thanks Paul;
Now, which means when I just do
the class does not get loaded, and static initilizer/block does not get called right. I also verified the same.
Now can I have the static block of Employee class executed without creating the instance of the class or accessing some static method or variable of Employee class? I mean to say, how do we load the class directly?