Delphi学习(三)——面向对象
摘要:
1、新建单元,代码如下unit Models;interface uses Windows, SysUtils, Messages,Dialogs;type Tstudent = class(TObject) //创建类 public sno : string; sname:string; Ssex : string; SAge : string; procedure SayHelloBy(name:string); function SayHelloByF(name:string): string; end;implementationprocedure Tstudent.SayHelloB 阅读全文
posted @ 2012-11-25 17:57 为学日损 阅读(146) 评论(0) 推荐(0)
浙公网安备 33010602011771号