dhcpv6端口号:delphi中的类什么情况下使用overload
来源:百度文库 编辑:高考问答 时间:2024/05/17 06:50:56
在你重载的时候
当两个函数(过程)的函数(过程)名一样参数不一样时
如
procedure fun1(age,height:integer);overload; //这两个过程的名字一样
procedure fun1(name:string);overload; //但他们的参数不同。
在你重载的时候
当两个函数(过程)的函数(过程)名一样参数不一样时
如
procedure fun1(age,height:integer);overload; //这两个过程的名字一样
procedure fun1(name:string);overload; //但他们的参数不同。