哪位兄弟给讲解一下啊?

解决方案 »

  1.   

    interface 的 继承可以简单理解成为 类的继承或者组件的属性继承
    但是接口的传递 需要你自己去看了
      

  2.   

    给你一个范例IInterface1 = interface
    [{GUID自己去生成}]
    protected
      procedure Getxxx(var xxx :string);
    end;TInterface1 = class(TInterfacedObject, IInterface1)
    protected
      procedure Getxxx(var xxx :string);
    end;procedure TInterface1.Getxxx(var xxx :string)
    begin
      xxx :='123';
    end;
    这样就是一个接口了。
      

  3.   

    Linux2001是用一个类去继承接口,并将其实现。