class ClassA { static { System.out.println("ClassA static Initializer"); } { System.out.println("ClassA Initializer"); } ClassA(){ System.out.println("ClassA Constructor"); } } class ClassB { static { System.out.println("ClassB static Initializer"); } { System.out.println("ClassB Initializer"); } ClassB(){ System.out.println("ClassB Constructor"); } } class ClassC extends ClassB { ClassA ca = new ClassA(); static { System.out.println("ClassC static Initializer"); } { System.out.println("ClassC Initializer"); } ClassC(){ System.out.println("ClassC Constructor"); } } class Samp02 { public static void main(String[] args){ new ClassC(); } }