Archives

Posts Tagged ‘oo’

简单的OOL 在Perl中方法有二种, 实例方法:用于特定对象的方法,实现执行某个功能. 类方法:用于整个类的方法 类的多态性:总是某个类型的特定对象选择最合适的行为的特性叫多态性 构造器: 类...

1,726 views | No comments
Sep 6th, 2009 | Filed under Perl Other
Tags: ,