填空题
当使用Thread t=new Thread(r)创建一个线程时,表达式:r instranceof Thread的值是______。
【参考答案】
false
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
请阅读下列程序代码,然后将程序的执行结果补充完整。 程序代码: public class throwsException static void Proc(intsel) throws Arithmetic Exception,Array Index Out Of Bounds Exception System.out.println( InSituation +sel); if(sel==0) System.out.println( noException 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
点击查看答案&解析
填空题
break语句最常见的用法是在switch语句中,通过break语句退出switch语句,使程序从整个switch语句后面的______开始执行。
点击查看答案&解析
相关试题
需求分析阶段的任务是( )。
已知一个有序线性表为(13,18,24,...
以下各选项中能正确声明一个表示50个值为...
在Java中,线程是( )。
下列关于线程和进程的说法正确的是( )。