摘要: 1、static static关键字修饰的变量或者函数是属于整个类的,调用方式,类名.变量/方法 静态函数中,只能调用静态的变量或者函数 静态的变量只会运行一次 public class Test { public static void main(String[] args) { MyClass 阅读全文
posted @ 2018-08-08 23:52 别念茶茶 阅读(230) 评论(0) 推荐(0) 编辑