我试图找到为什么不能将类创建为静态?喜欢:
public static class Qwert{
public static void main(String args[]){
int x = 12;
while(x<12){
x--;
}
System.out.println(" the X value is : "+ x);
}
}
Run Code Online (Sandbox Code Playgroud)