选择题:试写出下面这个程序的执行结果. class ExceptionTest { static Stri

题目内容:
试写出下面这个程序的执行结果.
class ExceptionTest {
static String a[] = {"123", "abc", null};
public static void main (String args[]) {
for (int i = 0; i < 3; i++) {
try {
int x = Integer.parseInt(a[i]);
System.out.println( "Result: " + x);
}
catch(NullPointerException e) {
System.out.println("error null:");}
catch (NumberFormatException e)
{System.out.println("error:abc" );}

finally{System.out.println ("In "+ i +"th loop\n"); }
} //end for
}
}
参考答案:

20. 根据税法规定,个人转让自用达( )以上,并且是唯一家庭居住用房取得的所得,暂免征个人所得税。

20. 根据税法规定,个人转让自用达( )以上,并且是唯一家庭居住用房取得的所得,暂免征个人所得税。(本题1.0分) A、 3年 B、 5年 C、 10年

查看答案