Java新手的问题
public class NewClass {public static void main(String[] args)
{
int i=999;
int b,c;
int d;
for(;i>100;i--)
d=i%100;
b=i/10%10;
c=i%10;
if(i==d*d*d+b*b*b+c*c*c)
System.out.println(i);
}
}
Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - 可能尚未初始化变量d
at newpackage.NewClass.main(NewClass.java:22)
Java Result: 1