这样为啥不可以?
public class HelloWorld{
public static void main(String[] args){
int num = 0;
int a = 1000;
if(a<=999999999&&a<=0) {
for(int i=0;i<=999999999;i++) {
if(i>10) {
a = a/10;
num++;
}
}
System.out.println(num);
}
}
}