for(int count = 0;count<=10;count++){
if(num!=0){
num=num/10;
}else{
System.out.println(count);
break;
}
}
if(num!=0){
num=num/10;
}else{
System.out.println(count);
break;
}
}
switch...case 表达式数据类型:
byte char short int long 枚举 String(jdk1.7及以后)
byte char short int long 枚举 String(jdk1.7及以后)
2019-11-19
错误: 无法初始化模块 imooc 中的主类 com.imooc.HelloWorld
原因: java.lang.NoClassDefFoundError: [LString;
原因: java.lang.NoClassDefFoundError: [LString;
2019-11-15