摘要: The static keyword defines a static method for a class. Static修饰的方法只能通过类名来调用,不能使用具体对象来调用,常用来做公用方法utitly 同一个class下的不同静态方法可以通过this来互相调用, 非静态方法不能直接通过this 阅读全文
posted @ 2017-02-06 17:50 飘零的日子 阅读(163) 评论(0) 推荐(0) 编辑