单项选择题
请阅读下列程序代码,然后将程序的执行结果补充完整。横线处应填写的内容是______。
程序代码:
public class throwsException
static void Proe(intsel)
throws Arithmetic Exception, Array Index Out OfBounds Exception
System. out. println("InSituation"+sel);
if(sel==0)
System. out. println( "noExeeption caught")
return;
else if(sel==1)
int iArray[]=newint[4];
iArray[1]=3;
public static void main(String args[])
try
Proc(0);
Proc(1);
catch(Array Index Out Of Bounds Exception e)
System. out. println( "Catch"+e);
finally
System. out. println("inProcfinally");
执行结果:
In Situation 0
no Exception caught
______
in Proc finally
A.In Situation 1
B.In Situation
C.with Catch
D.int iArray 1