interface InterfaceA               //ӿInterA
{
     int a =1;
     void showa();
}
  interface InterfaceB             //ӿInterB
{
     int b =2;
     void showb();
}
  interface InterfaceC             //ӿInterC
{
     int c =3;
     void showc();
}                                  
//ӿInterD̳нӿInterAInterBInterC
interface InterfaceD extends InterfaceA , InterfaceB , InterfaceC  
{
     int d =4;
     void showd();
}
class ClassE implements InterfaceD      //TestʵֽӿInterD
{
     int e =5;
     public void showa()            //ʵֽӿInterAеķ
     { 
        System.out.println("a="+a);
     }
     public void showb()            //ʵֽӿInterBеķ
     { 
        System.out.println("b="+b);
     }
     public void showc()            //ʵֽӿInterCеķ
     { 
        System.out.println("c="+c);
     }
     public void showd()           //ʵֽӿInterAеķ
     { 
        System.out.println("d="+d);
     }
     public void showe()           //еķ
     { 
        System.out.println("e="+e);
     }
}
public class Test4_13 
{
     public static void main(String[ ] args )         
     { 
        ClassE test = new ClassE();
        test.showa();
        test.showb();
        test.showc();
        test.showd();
        test.showe();
     }
}
