unit Unit5;interface
type
  date = class(TObject)
  public constructor create(x, y: Integer) ;
  end;  implementationend.

解决方案 »

  1.   

    你没uses 
        windows,classes.........;
      

  2.   

    这个跟 uses 完全没关系,它的单元里引用的都是 system 单元中的东西,默认所有单元都会引用的。哪出错把编译信息贴出来就很明显了,只有接口而没有实现的部分
      

  3.   

    unit Unit5;interface
    type
      date = class(TObject)
      public constructor create(x, y: Integer) ;
      end;  implementationconstructor date.create(x, y: Integer);
    begin
    end;
    end.
      

  4.   

    你也没有实现
    constructor create(x, y: Integer) ;
    这个方法