区别:
public class Variable{
static int allClicks=0; //类变量
String str="hello world"; //实例变量
public void method(){
int i =0; //局部变量
}
}
原文链接:https:///cynhafa/article/details/6881942
因篇幅问题不能全部显示,请点此查看更多更全内容