[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fNoEI5KIL_4R65FBAKCDhheUTM2ebKRJN82Wa8rTLR2g":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2024-05-16 15:02:02",143989035,[8,9,10,11],"输出0","输出1","输出0.5","编译失败",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},15,"686484b5c711dad9bec3133c5802a712","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002Ff416a82ee50c5f966406b5d3c525d174.JPG","Java程序设计（原课程名《Java语言与网络编程》）","work_35024635","第五章异常","下面程序的运行结果是( ) class Demo{ public static void main(String[] args){ int x = div(1,2); try{ }catch(Exception e){ System.out.println(e); } System.out.println(x); } public static int div(int a,int b){ return a \u002F b ; } }",[21,32,41,50,59,62,69,74,79,84],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],143989031,[25,26,27,28],"try","catch","finally","throw","在异常处理时,如释放资源关闭文件等由下列哪个语句完成.()","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],143989032,[36,37,38,39],"Throwable","Error","Exception","RuntimeException","下列哪个类是所有异常类的父类.()",{"answer":42,"createTime":5,"id":43,"options":44,"question":49,"source":30,"type":31},[],143989033,[45,46,47,48],"public void throws IOExceptionfun(){}","public void fun throws IOException(){}","public void fun() throws IOException{}","public void fun() throws IOException,throws SQLException{}","下列异常声明中,正确的是( )",{"answer":51,"createTime":5,"id":52,"options":53,"question":58,"source":30,"type":31},[],143989034,[54,55,56,57],"编译异常就是指Exception以及其子类","编译异常如果产生,可以不用处理","编译异常如果产生,必须处理,要么捕获,要么抛出","编译异常指的就是Error","以下关于编译异常说法正确的是( )",{"answer":60,"createTime":5,"id":6,"options":61,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":63,"createTime":64,"id":65,"options":66,"question":67,"source":30,"type":68},[],"2024-05-16 15:21:04",143991878,[],"____类及其子类用于表示运行时异常",2,{"answer":70,"createTime":64,"id":71,"options":72,"question":73,"source":30,"type":68},[],143991879,[],"异常分为两种,分别是____和____.(都是5个字)",{"answer":75,"createTime":64,"id":76,"options":77,"question":78,"source":30,"type":68},[],143991880,[],"____关键字用于在方法中声明抛出异常的实例对象",{"answer":80,"createTime":64,"id":81,"options":82,"question":83,"source":30,"type":68},[],143991881,[],"如果一个方法要抛出多个异常,可以使用____关键字,每种异常之间用逗号隔开",{"answer":85,"createTime":64,"id":86,"options":87,"question":88,"source":30,"type":68},[],143991882,[],"自定义异常需要继承____类"]