I have seen this source code, can somebody explain me when the code insidethe static{} is executed?public class MyClass extends BaseComponent {static{System.out.println("Call MyClass::static");}public MyClass (){}}
At the time of class initialization. Normally JNI libs are loaded likethis
in short - static parts will be executed before ANY OTHER part of theclass is executed