版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_35878329/article/details/84891565
 

参考答案(本人自己写的,有问题欢迎来讨论)
1.ABCD
2.A
3.C
4.AC
5.不能
6.false
7.foo goo
8.
FileNotfoundException
IOException
Exception
9.Y L O S A E O S A E
10.
public class ArmStrongNumber{
public void code(int s){
//取百位
int h = s/100;
//取十位
int t = s%100/10;
//取个位
int p = s%100%10;
int num = (int)(Math.pow(h,3)+Math.pow(t,3)+Math.pow(p,3));
if(s == num)
System.out.println(s);
if(s < 999){
s++;
code(s);
}
}
public static void main(String[] args){
new ArmstrongNumber().code(100);
}
}