摘要: package cs.cwnu; public class StaticTest { int a = 1;//非静态变量 static int b = 2;//静态变量 void sayA() {//非静态方法 this.a=2; System.out.println(a); this.b = 3; 阅读全文
posted @ 2019-06-09 23:29 疯狂的字母 阅读(670) 评论(0) 推荐(0)