May someone explain this bit of code? Also, how does the static affect this? Sorry for errors that may be there...
class A
{ static
{
System.out.println("THIRD");
}
}
class B extends A
{ static
{
System.out.println("SECOND");
}
}
class C extends B
{ static
{
System.out.println("FIRST");
}
}
public class MainClass
{ public static void main(String[] args)
{
C c = new C();
}
}