- d
- c
- b
- c
- a
//创建接口IFly( ) 方法:创建抽象方法 fly() 方法
public interface IFly {
public void fly();
}
//创建子类:Plane 方法:实现接口中的方法fly( ),输出信息“飞机在天上飞”
public class Plane implements IFly
//创建接口IFly( ) 方法:创建抽象方法 fly() 方法
public interface IFly {
public void fly();
}
//创建子类:Plane 方法:实现接口中的方法fly( ),输出信息“飞机在天上飞”
public class Plane implements IFly