Some questions regarding Initialization Block in Java.
- by kunjaan
Where have you mostly used the initialization block?
Can you use these to assign values to static instance variables?
How is this different from assigning using a constructor?
My book says that the initialization block is executed when the "class is loaded". What does loading a class mean?