class Father{
{
System.out.println("1.Father is");
}
static{
System.out.println("Father static");
}
{
System.out.println("2.Father");
}
public Father(){
System.out.println("Father Constructor");
}
{
System.out.println("Father3");
}
}
public class Son extends Father{
public static void main(String[] args){
System.out.println("Son main");
new Son();
}
static int age=20;
{
System.out.println("Son 1");
}
static{
System.out.println("Son static");
}
{
System.out.println("Son 2");
}
public Son(){
System.out.println("Son Constructor");
}
{
System.out.println("Son 3");
}
}