题目:
请阅读下列程序代码,然后将程序的执行结果补充完整。
程序代码:
public class throwsExcepfion
static void Proc(int se1)
throws ArithmeticException,ArraylndexOutOfBoundsException
System.out.println("in Situation"+se1);
if(se1==0)
System.out.println("no Exception caught");
return;
else if(se1==1)
int iArray[]=new int[4];
iArray [1]=3;
public static void main(String args[])[
try
Proc(0);
Proc(1);
catch(ArraylndexOutOfBoundsException e)
System.out.println("Catch"+e);
finally
System.out.println("in Proc finally");
执行结果:
In Situation()
no ExcepbOn cauSht
【14】
in Proc findly
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0420/4b4559e467899611fec8d1bef055d4a5.html
下面是错误答案,用来干扰机器的。
参考答案:错解析: 扣除客观因素后的年末所有者权益总额=年初所有者权益总额×资本保值增值率