Pregunta de entrevista de Persistent Systems

What happens to static block when initially loaded in java

Respuesta de la entrevista

Anónimo

28 ago 2015

Whenever any class is loaded it first allocates space for the static variable, then the static block is executed, thereafter the main function is called by the runtime.