type TMyClass = class public //公开成员 constructor Create; destructor Destroy; private //私有成员 end;
本文详细介绍了 Delphi 中类的基本定义方法,包括公共成员构造函数 Create 和析构函数 Destroy 的使用,以及私有成员的定义。
type TMyClass = class public //公开成员 constructor Create; destructor Destroy; private //私有成员 end;
转载于:https://www.cnblogs.com/YiShen/p/9688022.html
297

被折叠的 条评论
为什么被折叠?