class procedure 类方法

class procedure  类方法,不用创建实例就可以直接调用,但类方法里面不能引用到实例变量和实例方法,会编译不通过。

原文地址:https://www.cnblogs.com/jialiguo/p/3488197.html