Would you explain me please a process of loading classes, sequence of initialization of static variables, static blocks, public static void main(String args)... How is it beiing determined what to initialize first - by import statements, class calling statements ...? Would you give me some example on that please?
Hi, I can't explain the processes of loading classes because it is perform by the JVM when the class is required. As far as initialization is concerned it works in the following order: 1. Static initializers 2. Instance initializers 3. Constructors Within each part the order (top to bottom) determines initialization. Can't think of any examples that would show you that though ... Manfred.