求解为何出错
package two;
public class two {public static void main(String[] args){
int num =5556978657854;
int count = 0;
while (num>=1){num/=10;
count++;}
if(count<10){
System.out.println("它是个"+count+"位的数");}else{
System.out.println("输入错误");
}
}
}
求解为何出错