Héritage hybride en Java
public class A
{
// Methods and Fields of class A
}
public interface interfaceB
{
// Methods and Fields of InterfaceB
}
public interface interfaceC
{
// Methods and Fields of InterfaceC
}
public class D extends A implements InterfaceB,InterfaceC
{
// Implementation of the method defined in Interfaces, InterfaceB and InterfaceC
// Methods of class D
}
Sam the WatchDogs