package com.fc.bayern; //static block test public class YSF{ static{System.out.println("Now JVM is loading me");} public YSF(){System.out.println("Now i am constructed");} static { System.out.println("this a test about static block"); } public static void main(String[] args) { YSF testBeforLoad = new YSF(); YSF testAfterLoad = new YSF(); } } Now JVM is loading methis a test about static blockNow i am constructedNow i am constructed ps:eclipse