填空题
【 】是Java程序的并发机制,它能同步共享数据,处理不同事件。
【参考答案】
多线程
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
请阅读下列程序代码,然后将程序的执行结果补充完整。程序代码:public class throwsException{static void Proc(int sel)throws ArithmeticException,ArrayIndexOutOfBoundsException{System.out.println( In Situation +sel);if(sel==0){System.out.println( no Exception caught );return;}else if(sel==1){int iArray[]=new int[4];iArray[1]=3;}}public static void main(String args[]){try{Proc(0);Proc(1)}catch(ArrayIndexOutOfBoundsException e){System.out.println( Catch +e);}finally{System.out.println( in Proc finally );}}}执行结果:In、Situation 0no Exception caught【 】in Proc finally
点击查看答案&解析
填空题
如果容器采用【 】进行布局管理,在用add( )方法添加构件的时候,必须注明添加 到哪个位置。
点击查看答案&解析
相关试题
【 】是Java提供的建立图形用户界面GUI的...
URL是【 】的缩写。
String s = 全国计算机等级考试 ; S...
一棵二叉树第六层(根结点为第一层)的结点...
写出下列程序的执行结果是【 】。已知:’...