【发布时间】:2011-01-23 12:46:32
【问题描述】:
我试图找出为什么不能将类创建为静态的?喜欢:
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);
}
}
【问题讨论】: